Move startPrivateOneToOneRoomWithUserId from MatrixHandler to AppDelegate.

This commit is contained in:
giomfo
2015-05-04 14:49:30 +02:00
parent 69c90c9c95
commit 02fd35292d
7 changed files with 63 additions and 49 deletions
@@ -18,7 +18,7 @@
#import "ContactDetailsTableCell.h"
#import "MatrixHandler.h"
#import "AppDelegate.h"
#import "RageShakeManager.h"
@@ -110,7 +110,7 @@
if ([view isKindOfClass:[ContactDetailsTableCell class]]) {
dispatch_async(dispatch_get_main_queue(), ^{
[[MatrixHandler sharedHandler] startPrivateOneToOneRoomWithUserId:((ContactDetailsTableCell*)view).matrixUserIDLabel.text];
[[AppDelegate theDelegate] startPrivateOneToOneRoomWithUserId:((ContactDetailsTableCell*)view).matrixUserIDLabel.text];
});
}
}