mirror of
https://github.com/oxen-io/session-android.git
synced 2025-08-26 12:47:35 +00:00
Fix issue with typing indicators in blocked groups.
This commit is contained in:
@@ -1772,8 +1772,15 @@ public final class PushProcessMessageJob extends BaseJob {
|
||||
} else {
|
||||
return sender.isBlocked();
|
||||
}
|
||||
} else if (content.getCallMessage().isPresent() || content.getTypingMessage().isPresent()) {
|
||||
} else if (content.getCallMessage().isPresent()) {
|
||||
return sender.isBlocked();
|
||||
} else if (content.getTypingMessage().isPresent()) {
|
||||
if (content.getTypingMessage().get().getGroupId().isPresent()) {
|
||||
GroupId groupId = GroupId.push(content.getTypingMessage().get().getGroupId().get());
|
||||
return Recipient.externalGroup(context, groupId).isBlocked();
|
||||
} else {
|
||||
return sender.isBlocked();
|
||||
}
|
||||
}
|
||||
|
||||
return false;
|
||||
|
Reference in New Issue
Block a user