ui: fix messages being sent in wrong scope after receiving an item in support scope (#5903)

This commit is contained in:
spaced4ndy authored and GitHub committed 2025-05-13 14:01:53 +00:00
1 parent db1ffb2cf2
commit b81e5b13b3
2 files changed
+7 -1

No files matched your search

@@ -355,6 +355,8 @@ object ChatModel {
)
)
}
} else if (currentCInfo is ChatInfo.Group && newCInfo is ChatInfo.Group && newCInfo.groupChatScope != null) {
newCInfo = newCInfo.copy(groupInfo = newCInfo.groupInfo, groupChatScope = null)
}
chats[i] = chats[i].copy(chatInfo = newCInfo)
}