Merge remote-tracking branch 'origin/master' into room_summary

This commit is contained in:
manuroe
2017-03-23 16:24:50 +01:00
13 changed files with 196 additions and 23 deletions
+2 -2
View File
@@ -2285,7 +2285,7 @@
if (unknownDevices)
{
UsersDevicesViewController *usersDevicesViewController = (UsersDevicesViewController *)segue.destinationViewController.childViewControllers.firstObject;
[usersDevicesViewController displayUsersDevices:unknownDevices andMatrixSession:self.roomDataSource.mxSession];
[usersDevicesViewController displayUsersDevices:unknownDevices andMatrixSession:self.roomDataSource.mxSession onComplete:nil];
unknownDevices = nil;
}
@@ -2940,7 +2940,7 @@
- (void)refreshMissedDiscussionsCount:(BOOL)force
{
// Ignore this action when no room is displayed
if (!self.roomDataSource)
if (!self.roomDataSource || !missedDiscussionsBarButtonCustomView)
{
return;
}