mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-21 17:29:32 +01:00
Better error handling for group calls.
This commit is contained in:
committed by
Alan Evans
parent
84f1da76ad
commit
cf32b93269
@@ -46,6 +46,14 @@ public class WebRtcViewModel {
|
||||
this == NO_SUCH_USER ||
|
||||
this == UNTRUSTED_IDENTITY;
|
||||
}
|
||||
|
||||
public boolean isPreJoinOrNetworkUnavailable() {
|
||||
return this == CALL_PRE_JOIN || this == NETWORK_FAILURE;
|
||||
}
|
||||
|
||||
public boolean isPassedPreJoin() {
|
||||
return this.ordinal() > CALL_PRE_JOIN.ordinal();
|
||||
}
|
||||
}
|
||||
|
||||
public enum GroupCallState {
|
||||
|
||||
Reference in New Issue
Block a user