mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-07-20 02:41:31 +00:00
comment
This commit is contained in:
+1
-1
@@ -2975,7 +2975,7 @@ class CIQuote (
|
||||
val member = memberToModerate(chatInfo)
|
||||
if (member != null) return true
|
||||
|
||||
if (allowSentItems && chatInfo is ChatInfo.Group && chatDir is CIDirection.GroupSnd) {
|
||||
if (allowSentItems && chatInfo is ChatInfo.Group && chatDir is CIDirection.GroupSnd/* && meta.itemDeleted == null*/) {
|
||||
val m = chatInfo.groupInfo.membership
|
||||
return m.memberRole >= GroupMemberRole.Admin
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user