mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-20 12:09:45 +01:00
Fix a bug with checking if user is already in a call
Signed-off-by: Mario Danic <mario@lovelyhq.com>
This commit is contained in:
parent
4308633509
commit
09dfd42bb7
@ -155,10 +155,10 @@ public class CallNotificationController extends BaseController {
|
|||||||
|
|
||||||
if (participant.getUserId().equals(userBeingCalled.getUserId())) {
|
if (participant.getUserId().equals(userBeingCalled.getUserId())) {
|
||||||
inCallOnDifferentDevice = true;
|
inCallOnDifferentDevice = true;
|
||||||
}
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (!hasParticipantsInCall || inCallOnDifferentDevice) {
|
if (!hasParticipantsInCall || inCallOnDifferentDevice) {
|
||||||
if (getActivity() != null) {
|
if (getActivity() != null) {
|
||||||
|
Loading…
Reference in New Issue
Block a user