Эх сурвалжийг харах

update group members on reappearing from QR-Invite code

cyberta 5 жил өмнө
parent
commit
c91d67576e

+ 7 - 0
deltachat-ios/Controller/NewGroupController.swift

@@ -62,6 +62,13 @@ class NewGroupController: UITableViewController, MediaPickerDelegate {
         tableView.register(ActionCell.self, forCellReuseIdentifier: "actionCell")
     }
 
+    override func viewWillAppear(_ animated: Bool) {
+        if groupChatId != 0 {
+            let chat = DcChat.init(id: groupChatId)
+            updateGroupContactIds(Set(chat.contactIds))
+        }
+    }
+
     @objc func doneButtonPressed() {
         if groupChatId == 0 {
             groupChatId = dcContext.createGroupChat(verified: isVerifiedGroup, name: groupName)