mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-22 01:40:07 +01:00
Add GroupCall.JoinState.PENDING support.
This commit is contained in:
@@ -100,11 +100,15 @@ public class GroupJoiningActionProcessor extends GroupActionProcessor {
|
||||
.commit()
|
||||
.actionProcessor(actionProcessorFactory.createConnectedActionProcessor(webRtcInteractor));
|
||||
|
||||
} else if (device.getJoinState() == GroupCall.JoinState.JOINING || device.getJoinState() == GroupCall.JoinState.PENDING) {
|
||||
} else if (device.getJoinState() == GroupCall.JoinState.JOINING) {
|
||||
builder.changeCallInfoState()
|
||||
.groupCallState(WebRtcViewModel.GroupCallState.CONNECTED_AND_JOINING)
|
||||
.commit();
|
||||
} else {
|
||||
} else if (device.getJoinState() == GroupCall.JoinState.PENDING) {
|
||||
builder.changeCallInfoState()
|
||||
.groupCallState(WebRtcViewModel.GroupCallState.CONNECTED_AND_PENDING)
|
||||
.commit();
|
||||
}else {
|
||||
builder.changeCallInfoState()
|
||||
.groupCallState(WebRtcUtil.groupCallStateForConnection(device.getConnectionState()))
|
||||
.commit();
|
||||
|
||||
Reference in New Issue
Block a user