mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-20 03:59:35 +01:00
Use participantFlags
This commit is contained in:
parent
f797f10047
commit
5398d17295
@ -216,7 +216,7 @@ public class CallNotificationController extends BaseController {
|
||||
boolean inCallOnDifferentDevice = false;
|
||||
List<Participant> participantList = participantsOverall.getOcs().getData();
|
||||
for (Participant participant : participantList) {
|
||||
if (participant.isInCall()) {
|
||||
if (participant.isInCall() || (userBeingCalled.hasSpreedCapabilityWithName("in-call-flags") && participant.getParticipantFlags() != 0)) {
|
||||
hasParticipantsInCall = true;
|
||||
|
||||
if (participant.getUserId().equals(userBeingCalled.getUserId())) {
|
||||
|
@ -52,6 +52,9 @@ public class Participant {
|
||||
@JsonField(name = "inCall")
|
||||
boolean inCall;
|
||||
|
||||
@JsonField(name = "participantFlags")
|
||||
int participantFlags;
|
||||
|
||||
String source;
|
||||
|
||||
public enum ParticipantType {
|
||||
|
Loading…
Reference in New Issue
Block a user