From 4051cda7e4ee57c4f2e538eb7c7f1f375269b161 Mon Sep 17 00:00:00 2001 From: jack Date: Fri, 4 Jul 2025 18:54:15 +0200 Subject: [PATCH] Remove debug logging for room messages --- bitchat/ViewModels/ChatViewModel.swift | 3 --- 1 file changed, 3 deletions(-) diff --git a/bitchat/ViewModels/ChatViewModel.swift b/bitchat/ViewModels/ChatViewModel.swift index d47bbf8a..f833cfaa 100644 --- a/bitchat/ViewModels/ChatViewModel.swift +++ b/bitchat/ViewModels/ChatViewModel.swift @@ -264,7 +264,6 @@ class ChatViewModel: ObservableObject { } // Send via mesh with mentions and room - print("[DEBUG] Sending message with room: \(messageRoom ?? "nil"), content: \(content)") meshService.sendMessage(content, mentions: mentions, room: messageRoom) } } @@ -658,7 +657,6 @@ extension ChatViewModel: BitchatDelegate { } } else if let room = message.room { // Room message - print("[DEBUG] Received room message for room: \(room), content: \(message.content)") // Auto-join room if we see a message for it if !joinedRooms.contains(room) { @@ -686,7 +684,6 @@ extension ChatViewModel: BitchatDelegate { } } else { // Regular public message (main chat) - print("[DEBUG] Received main chat message, no room specified. Content: \(message.content)") messages.append(message) // Sort messages by timestamp to ensure proper ordering messages.sort { $0.timestamp < $1.timestamp }