We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1afafd5 commit c2bbf9cCopy full SHA for c2bbf9c
NextcloudTalk/RoomsTableViewController.m
@@ -1307,7 +1307,7 @@ - (void)createRoomForSelectedUser:(NCUser *)user
1307
ofType:kNCRoomTypeOneToOne
1308
andName:nil
1309
completionBlock:^(NCRoom *room, NSError *error) {
1310
- if (!error) {
+ if (!error && room.token != nil) {
1311
[self.navigationController dismissViewControllerAnimated:YES completion:^{
1312
[[NSNotificationCenter defaultCenter] postNotificationName:NCSelectedUserForChatNotification
1313
object:self
0 commit comments