RecentsViewController: prepare multi-sessions support.

This commit is contained in:
giomfo
2015-05-21 13:12:21 +02:00
parent 9a62c34093
commit e81c99b1ae
2 changed files with 9 additions and 17 deletions
+1 -1
View File
@@ -30,7 +30,7 @@
- (void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath {
if (editingStyle == UITableViewCellEditingStyleDelete) {
// Leave the selected room
id<MXKRecentCellDataStoring> recentCellData = [self cellDataAtIndex:indexPath.row];
id<MXKRecentCellDataStoring> recentCellData = [self cellDataAtIndexPath:indexPath];
// cancel pending uploads/downloads
// they are useless by now