Room details: Support /join command (join room by using room alias)

This commit is contained in:
giomfo
2014-12-17 10:55:33 +01:00
parent 3595e7b3ad
commit feadfa3b40
2 changed files with 9 additions and 6 deletions
+1 -2
View File
@@ -286,8 +286,7 @@ static MatrixHandler *sharedHandler = nil;
if (direction == MXEventDirectionForwards) {
MXRoomState* roomState = (MXRoomState*)customObject;
// If we are running on background, show a local notif
if (UIApplicationStateBackground == [UIApplication sharedApplication].applicationState)
{
if (UIApplicationStateBackground == [UIApplication sharedApplication].applicationState) {
UILocalNotification *localNotification = [[UILocalNotification alloc] init];
localNotification.fireDate = [NSDate dateWithTimeIntervalSinceNow:0];
localNotification.hasAction = YES;