Forráskód Böngészése

open chat directly after creating group

Jonas Reinsch 7 éve
szülő
commit
13e87f2bc1
1 módosított fájl, 3 hozzáadás és 0 törlés
  1. 3 0
      deltachat-ios/GroupNameController.swift

+ 3 - 0
deltachat-ios/GroupNameController.swift

@@ -65,6 +65,9 @@ class GroupNameController: UIViewController {
                 fatalError("failed to add \(contactId) to group \(groupName)")
             }
         }
+        let chatVC = ChatViewController(chatId: Int(groupChatId))
+        navigationController?.pushViewController(chatVC, animated: true)
+        
     }
 
     override func didReceiveMemoryWarning() {