From fefb99e50db2a2d6d9fa553452ee5d6fe8f3e679 Mon Sep 17 00:00:00 2001 From: Marcel Hibbe Date: Thu, 14 Nov 2024 12:04:12 +0100 Subject: [PATCH] fix check if federated is still the same Signed-off-by: Marcel Hibbe --- .../main/java/com/nextcloud/talk/webrtc/WebSocketInstance.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/com/nextcloud/talk/webrtc/WebSocketInstance.kt b/app/src/main/java/com/nextcloud/talk/webrtc/WebSocketInstance.kt index 10f338b1a2..c6d1a9df25 100644 --- a/app/src/main/java/com/nextcloud/talk/webrtc/WebSocketInstance.kt +++ b/app/src/main/java/com/nextcloud/talk/webrtc/WebSocketInstance.kt @@ -391,7 +391,7 @@ class WebSocketInstance internal constructor( roomToken == currentRoomToken && normalBackendSession == currentNormalBackendSession && federation?.roomId == currentFederation?.roomId && - federation?.nextcloudServer == federation?.nextcloudServer + federation?.nextcloudServer == currentFederation?.nextcloudServer ) { Log.d(TAG, "roomToken & session are unchanged. Joining locally without to send websocket message") sendRoomJoinedEvent()