瀏覽代碼

open chat directly after creating group

Jonas Reinsch 7 年之前
父節點
當前提交
13e87f2bc1
共有 1 個文件被更改,包括 3 次插入0 次删除
  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() {