mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-07-17 11:12:22 +01:00
Reject group call ring updates from senders who are not current group members.
This commit is contained in:
@@ -1003,11 +1003,12 @@ public final class SignalCallManager implements CallManager.Observer, GroupCall.
|
||||
if (group != null &&
|
||||
group.isActive() &&
|
||||
!Recipient.resolved(group.getRecipientId()).isBlocked() &&
|
||||
group.memberLevel(senderRecipient).isInGroup() &&
|
||||
(!group.isAnnouncementGroup() || group.isAdmin(senderRecipient)))
|
||||
{
|
||||
process((s, p) -> p.handleGroupCallRingUpdate(s, new RemotePeer(group.getRecipientId()), groupId, ringId, senderAci, ringUpdate));
|
||||
} else {
|
||||
Log.w(TAG, "Unable to ring unknown/inactive/blocked group.");
|
||||
Log.w(TAG, "Unable to ring unknown/inactive/blocked group, or sender is not a current member of the group.");
|
||||
}
|
||||
} catch (InvalidInputException e) {
|
||||
Log.w(TAG, "Unable to ring group due to invalid group id", e);
|
||||
|
||||
Reference in New Issue
Block a user