From eb0debd52aa66e84412ce8c90c626fc8c51a70d7 Mon Sep 17 00:00:00 2001 From: jack Date: Thu, 21 Aug 2025 01:59:47 +0200 Subject: [PATCH] Fix: route /hug and /slap to active public channel using sendPublicRaw (geohash when selected) --- bitchat/Services/CommandProcessor.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bitchat/Services/CommandProcessor.swift b/bitchat/Services/CommandProcessor.swift index 40a3c3dc..9857e674 100644 --- a/bitchat/Services/CommandProcessor.swift +++ b/bitchat/Services/CommandProcessor.swift @@ -136,8 +136,8 @@ class CommandProcessor { chatViewModel?.addLocalPrivateSystemMessage(localText, to: targetPeerID) } } else { - // In public chat: send to mesh and also add a local system echo so sender sees it immediately - meshService?.sendMessage(emoteContent, mentions: []) + // In public chat: send to active public channel (mesh or geohash) + chatViewModel?.sendPublicRaw(emoteContent) let publicEcho = "\(emoji) \(myNickname) \(action) \(nickname)\(suffix)" chatViewModel?.addPublicSystemMessage(publicEcho) }