Ver Fonte

open chat directly after creating group

Jonas Reinsch há 7 anos atrás
pai
commit
13e87f2bc1
1 ficheiros alterados com 3 adições e 0 exclusões
  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() {