mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-24 04:58:45 +00:00
Update method by which we check for remote device count.
This commit is contained in:
committed by
Greyson Parrelli
parent
a44c18d13f
commit
39a5bc21dd
@@ -320,7 +320,7 @@ public class WebRtcCallViewModel extends ViewModel {
|
||||
webRtcViewModel.isRemoteVideoEnabled(),
|
||||
webRtcViewModel.isRemoteVideoOffer(),
|
||||
localParticipant.isMoreThanOneCameraAvailable(),
|
||||
Util.hasItems(webRtcViewModel.getRemoteParticipants()),
|
||||
webRtcViewModel.getRemoteDevicesCount().orElse(0L) > 0,
|
||||
webRtcViewModel.getActiveDevice(),
|
||||
webRtcViewModel.getAvailableDevices(),
|
||||
webRtcViewModel.getRemoteDevicesCount().orElse(0),
|
||||
|
||||
@@ -126,7 +126,7 @@ public class GroupPreJoinActionProcessor extends GroupActionProcessor {
|
||||
|
||||
WebRtcServiceStateBuilder.CallInfoStateBuilder builder = currentState.builder()
|
||||
.changeCallInfoState()
|
||||
.remoteDevicesCount(peekInfo.getDeviceCount())
|
||||
.remoteDevicesCount(peekInfo.getDeviceCountExcludingPendingDevices())
|
||||
.participantLimit(peekInfo.getMaxDevices())
|
||||
.clearParticipantMap();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user