ios: dismiss re-opened contact connection view upon connection (#1316)

This commit is contained in:
JRoberts
2022-11-07 21:05:59 +04:00
committed by GitHub
parent 655041c657
commit f3e59aa3c3
3 changed files with 8 additions and 6 deletions
@@ -307,9 +307,9 @@ class ChatModel(val controller: ChatController) {
}
fun upsertGroupMember(groupInfo: GroupInfo, member: GroupMember): Boolean {
// user member was updated
if (groupInfo.membership.groupMemberId == member.groupMemberId) {
// Current user was updated (like his role, for example)
updateChatInfo(ChatInfo.Group(groupInfo))
updateGroup(groupInfo)
return false
}
// update current chat