Selaa lähdekoodia

open chat directly after creating group

Jonas Reinsch 7 vuotta sitten
vanhempi
commit
13e87f2bc1
1 muutettua tiedostoa jossa 3 lisäystä ja 0 poistoa
  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)")
                 fatalError("failed to add \(contactId) to group \(groupName)")
             }
             }
         }
         }
+        let chatVC = ChatViewController(chatId: Int(groupChatId))
+        navigationController?.pushViewController(chatVC, animated: true)
+        
     }
     }
 
 
     override func didReceiveMemoryWarning() {
     override func didReceiveMemoryWarning() {