mirror of
https://github.com/permissionlesstech/bitchat-android.git
synced 2026-07-25 01:45:22 +00:00
* fix: send action messages to correct chat * fix(action): avoid double local echo for action messages in geohash channels When sending /hug or /slap in a location (geohash) channel, CommandProcessor was adding a local echo and then routing to NostrGeohashService, which also adds a local echo. This resulted in duplicate action messages on the sender’s screen. Change: detect when the selectedLocationChannel is a Location and, in that case, skip adding the local echo in CommandProcessor and only call the onSendMessage transport callback (NostrGeohashService will add the echo with proper metadata). Private and mesh (non-location) behavior is unchanged.