Prevent single call UI to briefly show up when hanging up a conference call

This commit is contained in:
Sylvain Berfini 2022-06-22 14:58:08 +02:00
parent 4a74a7585d
commit 2e1b6baa6c

View file

@ -162,7 +162,7 @@ class CallActivity : ProximitySensorActivity() {
if (exists) {
Log.i("[Call Activity] Found active conference, changing fragment")
navigateToConferenceCall()
} else {
} else if (coreContext.core.callsNb > 0) {
Log.i("[Call Activity] Conference no longer exists, changing fragment")
navigateToActiveCall()
}