Bug Fix: Messages - Wait for the end of action before hiding swipe menu #52

This commit is contained in:
giomfo
2016-03-18 17:56:59 +01:00
parent 7b58974da0
commit 701ab26d14
5 changed files with 412 additions and 155 deletions
-23
View File
@@ -154,29 +154,6 @@
}
}
- (BOOL)isRoomNotifiedAtIndexPath:(NSIndexPath *)indexPath
{
MXRoom* room = [self getRoomAtIndexPath:indexPath];
if (room)
{
return !room.areRoomNotificationsMuted;
}
return YES;
}
- (void)muteRoomNotifications:(BOOL)mute atIndexPath:(NSIndexPath *)indexPath
{
MXRoom* room = [self getRoomAtIndexPath:indexPath];
// sanity check
if (room)
{
[room toggleRoomNotifications:mute];
}
}
- (void)refreshRoomsSectionsAndReload
{
// Refresh is disabled during drag&drop animation"