mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-08-14 15:50:09 +00:00
The comment claimed addChatItem doesn't create the chat entry for a scoped ChatInfo either. It does - with an empty chatItems list. State the actual reason the upsert must not: it would seed the main list with the support item as preview, and since ChatInfo.Group.id ignores the scope that entry shadows the real group. Also note at the sent-item mirror why passing a scoped ChatInfo into the primary context is safe (updateChatInfo strips the scope; chatItemBelongsToScope keeps the item out of the primary's list).