We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f49fdbc commit 56013d2Copy full SHA for 56013d2
NextcloudTalk/RoomsTableViewController.m
@@ -1296,7 +1296,7 @@ - (void)createRoomForSelectedUser:(NCUser *)user
1296
ofType:kNCRoomTypeOneToOne
1297
andName:nil
1298
completionBlock:^(NCRoom *room, NSError *error) {
1299
- if (!error) {
+ if (!error && room.token != nil) {
1300
[self.navigationController dismissViewControllerAnimated:YES completion:^{
1301
[[NSNotificationCenter defaultCenter] postNotificationName:NCSelectedUserForChatNotification
1302
object:self
0 commit comments