From 8c8beda45af8365cebeefefed21bb6a74e1c87ec Mon Sep 17 00:00:00 2001 From: rapterjet2004 Date: Tue, 2 Sep 2025 11:57:04 -0500 Subject: [PATCH] Fixed the UI not updating when the room is Locked/Unlocked Updated the room upon receiving a processRoomListEvent in the NCExternalSignalingController. Signed-off-by: rapterjet2004 --- NextcloudTalk/NCExternalSignalingController.m | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/NextcloudTalk/NCExternalSignalingController.m b/NextcloudTalk/NCExternalSignalingController.m index ba7656759..33772549a 100644 --- a/NextcloudTalk/NCExternalSignalingController.m +++ b/NextcloudTalk/NCExternalSignalingController.m @@ -656,6 +656,11 @@ - (void)processSwitchToMessageEvent:(NSDictionary *)messageDict - (void)processRoomListEvent:(NSDictionary *)eventDict { NSLog(@"Refresh room list."); + NSDictionary *updateDict = [eventDict objectForKey:@"update"]; + NSString *roomToken = [updateDict objectForKey:@"roomid"]; + if (roomToken) { + [[NCRoomsManager sharedInstance] updateRoom:roomToken withCompletionBlock:nil]; + } } - (void)processRoomParticipantsEvent:(NSDictionary *)eventDict