mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-21 09:20:19 +01:00
Add emdash instead of 0 if no callers are present and we haven't connected / loaded the group state.
This commit is contained in:
@@ -3,6 +3,7 @@ package org.thoughtcrime.securesms.events;
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.annotation.Nullable;
|
||||
|
||||
import com.annimon.stream.OptionalLong;
|
||||
import com.annimon.stream.Stream;
|
||||
|
||||
import org.thoughtcrime.securesms.components.webrtc.BroadcastVideoSink;
|
||||
@@ -94,7 +95,7 @@ public class WebRtcViewModel {
|
||||
private final CallParticipant localParticipant;
|
||||
private final List<CallParticipant> remoteParticipants;
|
||||
private final Set<RecipientId> identityChangedRecipients;
|
||||
private final long remoteDevicesCount;
|
||||
private final OptionalLong remoteDevicesCount;
|
||||
private final Long participantLimit;
|
||||
|
||||
public WebRtcViewModel(@NonNull WebRtcServiceState state) {
|
||||
@@ -154,7 +155,7 @@ public class WebRtcViewModel {
|
||||
return identityChangedRecipients;
|
||||
}
|
||||
|
||||
public long getRemoteDevicesCount() {
|
||||
public OptionalLong getRemoteDevicesCount() {
|
||||
return remoteDevicesCount;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user