Add GroupCall.JoinState.PENDING support.

This commit is contained in:
Alex Hart
2023-08-08 15:41:54 -03:00
parent 30d0b6fd0e
commit 6898595f8a
5 changed files with 14 additions and 3 deletions

View File

@@ -640,6 +640,9 @@ public class WebRtcCallView extends ConstraintLayout {
case CONNECTED_AND_JOINING:
setStatus(R.string.WebRtcCallView__joining);
break;
case CONNECTED_AND_PENDING:
setStatus(R.string.WebRtcCallView__waiting_to_be_let_in);
break;
case CONNECTING:
case CONNECTED_AND_JOINED:
case CONNECTED:

View File

@@ -426,6 +426,7 @@ public class WebRtcCallViewModel extends ViewModel {
break;
case CONNECTED:
case CONNECTED_AND_JOINING:
case CONNECTED_AND_PENDING:
case CONNECTED_AND_JOINED:
groupCallState = WebRtcControls.GroupCallState.CONNECTED;
break;