mirror of
https://github.com/oxen-io/session-android.git
synced 2025-06-09 07:48:34 +00:00
Fix issue with typing indicators in blocked groups.
This commit is contained in:
parent
e12ea60d85
commit
7642b7cc72
@ -1772,8 +1772,15 @@ public final class PushProcessMessageJob extends BaseJob {
|
|||||||
} else {
|
} else {
|
||||||
return sender.isBlocked();
|
return sender.isBlocked();
|
||||||
}
|
}
|
||||||
} else if (content.getCallMessage().isPresent() || content.getTypingMessage().isPresent()) {
|
} else if (content.getCallMessage().isPresent()) {
|
||||||
return sender.isBlocked();
|
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;
|
return false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user