display error popup when bad address in createChatConversation

This commit is contained in:
Benjamin Reis 2016-11-23 12:23:39 +01:00
parent 80c417534d
commit 88d6abf06b

View file

@ -91,9 +91,9 @@
UIAlertAction* defaultAction = [UIAlertAction actionWithTitle:@"OK"
style:UIAlertActionStyleDefault
handler:^(UIAlertAction * action) {}];
defaultAction.accessibilityLabel = @"OK";
[errView addAction:defaultAction];
[self presentViewController:errView animated:YES completion:nil];
[PhoneMainView.instance presentViewController:errView animated:YES completion:nil];
} else {
ChatConversationView *view = VIEW(ChatConversationView);
[view setChatRoom:room];