This commit is contained in:
Avently committed 2025-01-09 16:57:50 +07:00
1 parent 920f2847eb
commit a5659b2dce
1 file changed
+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
}