Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
This commit is contained in:
Marcel Hibbe 2022-01-05 15:31:42 +01:00 committed by Marcel Hibbe (Rebase PR Action)
parent 87fba314c9
commit b3b8c867f7

View File

@ -1625,13 +1625,13 @@ public class CallActivity extends CallBaseActivity {
// The signaling session is the same as the Nextcloud session only when the MCU is not used. // The signaling session is the same as the Nextcloud session only when the MCU is not used.
String currentSessiondId = callSession; String currentSessionId = callSession;
if (hasMCU) { if (hasMCU) {
currentSessiondId = webSocketClient.getSessionId(); currentSessionId = webSocketClient.getSessionId();
} }
for (HashMap<String, Object> participant : users) { for (HashMap<String, Object> participant : users) {
if (!participant.get("sessionId").equals(currentSessiondId)) { if (!participant.get("sessionId").equals(currentSessionId)) {
Object inCallObject = participant.get("inCall"); Object inCallObject = participant.get("inCall");
boolean isNewSession; boolean isNewSession;
if (inCallObject instanceof Boolean) { if (inCallObject instanceof Boolean) {