mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-23 02:10:44 +01:00
Handle 1:1 call reconnecting events.
This commit is contained in:
committed by
Greyson Parrelli
parent
3af53f2089
commit
403958fed3
@@ -27,7 +27,7 @@ public final class NotInCallConstraint implements Constraint {
|
||||
|
||||
public static boolean isNotInConnectedCall() {
|
||||
WebRtcViewModel viewModel = EventBus.getDefault().getStickyEvent(WebRtcViewModel.class);
|
||||
return viewModel == null || viewModel.getState() != WebRtcViewModel.State.CALL_CONNECTED;
|
||||
return viewModel == null || (viewModel.getState() != WebRtcViewModel.State.CALL_CONNECTED && viewModel.getState() != WebRtcViewModel.State.CALL_RECONNECTING);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user