mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-08-22 05:50:11 +00:00
The wrong-chat fix reverts addChatItem to write the context its index was computed against. A sent item only reaches the active context, so for a pending invitee's member-support chat that revert would stop the group's main list preview from updating - it previously updated only as a side effect of writing the primary list at a wrong index. Dispatch sent items to the primary context explicitly, from the caller, as processReceivedMsg already does for received items.