mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-29 20:56:57 +02:00
Room details: Support /join command (join room by using room alias)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user