mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-11-05 06:17:34 +00:00
updateChatSettings read the chat's contribution and unread tag before the change from the listed chat after apiSetSettings returned. An item event processed during the call can already carry the new settings (addChatItem -> updateChatInfo), so before equalled after: the count and the unread tags kept the chat's old contribution. Before is now the listed chat's stats with the listed chat's settings from before the call.