Просмотр исходного кода

open chat directly after creating group

Jonas Reinsch 7 лет назад
Родитель
Сommit
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() {