Warn unknown devices: Show an alert when sending a message while there are unknown devices in the room.

Show the error in the room activities view too.
This commit is contained in:
manuroe
2017-02-14 11:01:38 +01:00
parent 9bce35f4e8
commit fa0c374e66
4 changed files with 70 additions and 11 deletions
@@ -33,10 +33,11 @@
Notify that some messages are not sent.
Replace the current notification if any.
@param notification the notification message to display.
@param onResendLinkPressed block called when user selects the resend link.
@param onIconTapGesture block called when user taps on notification icon.
*/
- (void)displayUnsentMessagesNotificationWithResendLink:(void (^)(void))onResendLinkPressed andIconTapGesture:(void (^)(void))onIconTapGesture;
- (void)displayUnsentMessagesNotification:(NSString*)notification withResendLink:(void (^)(void))onResendLinkPressed andIconTapGesture:(void (^)(void))onIconTapGesture;
/**
Display network error.