Never show stories from blocked users.

This commit is contained in:
Greyson Parrelli
2022-11-28 20:40:50 -05:00
parent 42d2d415d6
commit f6356c9720
2 changed files with 7 additions and 1 deletions

View File

@@ -3173,6 +3173,12 @@ public final class MessageContentProcessor {
return groupRecord.isPresent() && groupRecord.get().isAnnouncementGroup() && !groupRecord.get().getAdmins().contains(sender);
}
}
} else if (content.getStoryMessage().isPresent()) {
if (conversation.isGroup() && conversation.isBlocked()) {
return true;
} else {
return sender.isBlocked();
}
}
return false;