Files
simplex-chat/apps
Narasimha-sc 862d93c647 android, desktop: keep sent support message in main chat preview for pending invitee
A message sent in a secondary scope (member support / "chat with admins") is
added only to the active context (ComposeView passes its own chatsCtx), unlike
received items which the NewChatItems handler delivers to both the primary and
secondary contexts. After the index-correct revert of #5909's chatsContext.chats[i]
write, a pending invitee's sent support message no longer appeared in the main
chat list preview.

Mirror the receive path: when adding a sent item on a secondary context, also
update the primary context, so the main chat list preview updates at the correct
index. Sent items are not RcvNew, so this adds no unread double-count.
2026-06-18 10:07:43 +00:00
..
2025-07-08 12:22:57 +01:00