mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-19 19:49:33 +01:00
Fuse declaration and initial assignment
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
This commit is contained in:
parent
8117ffb56a
commit
f53cb610d3
@ -1851,13 +1851,12 @@ public class CallActivity extends CallBaseActivity {
|
|||||||
for (HashMap<String, Object> participant : users) {
|
for (HashMap<String, Object> participant : users) {
|
||||||
long inCallFlag = (long) participant.get("inCall");
|
long inCallFlag = (long) participant.get("inCall");
|
||||||
if (!participant.get("sessionId").equals(currentSessionId)) {
|
if (!participant.get("sessionId").equals(currentSessionId)) {
|
||||||
boolean isNewSession;
|
|
||||||
Log.d(TAG, " inCallFlag of participant "
|
Log.d(TAG, " inCallFlag of participant "
|
||||||
+ participant.get("sessionId").toString().substring(0, 4)
|
+ participant.get("sessionId").toString().substring(0, 4)
|
||||||
+ " : "
|
+ " : "
|
||||||
+ inCallFlag);
|
+ inCallFlag);
|
||||||
isNewSession = inCallFlag != 0;
|
|
||||||
|
|
||||||
|
boolean isNewSession = inCallFlag != 0;
|
||||||
if (isNewSession) {
|
if (isNewSession) {
|
||||||
newSessions.add(participant.get("sessionId").toString());
|
newSessions.add(participant.get("sessionId").toString());
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user