mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-02 08:23:00 +01:00
Drop all messages sent to a terminated group.
This commit is contained in:
@@ -256,10 +256,8 @@ open class MessageContentProcessor(private val context: Context) {
|
||||
}
|
||||
|
||||
if (groupRecord.isPresent && groupRecord.get().isTerminated) {
|
||||
if (content.dataMessage != null && !content.dataMessage!!.hasSignedGroupChange) {
|
||||
Log.w(TAG, "Ignoring message from ${senderRecipient.id} because the group is terminated.")
|
||||
return Gv2PreProcessResult.IGNORE
|
||||
}
|
||||
Log.w(TAG, "Ignoring message from ${senderRecipient.id} because the group is terminated.")
|
||||
return Gv2PreProcessResult.IGNORE
|
||||
}
|
||||
|
||||
if (groupRecord.isPresent && groupRecord.get().isAnnouncementGroup && !groupRecord.get().admins.contains(senderRecipient)) {
|
||||
|
||||
Reference in New Issue
Block a user