mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-11-08 18:47:30 +00:00
The "chat with admins" row is gated on membership.memberActive, which is false for left, removed, rejected and group deleted. Messages received in that chat before the user stopped being an active member stay unread: on iOS there is no way to open the chat and read them, and on Android and desktop members below moderator can open it only from the top bar while it has unread items. getUsersInfo counts unread items in groups with notifications on (and mentions in mentions-only groups), support scopes included, so they inflate the profile unread count until the whole profile is marked read. Reproduced by joining a group with admission review, being messaged by an admin in the support chat and then removed: two received items stay rcv_new with group_scope_tag member_support and a null scope member id, the id being null because it is the user's own support chat, and the profile count stays at 2. Reading that scope over the API clears it, so the items are reachable - only the UI hides them. Show the support chat whenever one exists, and apply the active member, group preference and role checks only to offering to start a new one.