From 87c88daecf381290c9eb6e2a726732e38e7c4ebe Mon Sep 17 00:00:00 2001 From: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com> Date: Fri, 15 May 2026 14:28:58 +0400 Subject: [PATCH] wip --- src/Simplex/Chat/Library/Commands.hs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Simplex/Chat/Library/Commands.hs b/src/Simplex/Chat/Library/Commands.hs index 3a0ee024b6..29afe8084d 100644 --- a/src/Simplex/Chat/Library/Commands.hs +++ b/src/Simplex/Chat/Library/Commands.hs @@ -1244,6 +1244,7 @@ processChatCommand vr nm = \case let isOwner = memberRole' membership == GROwner canDelete = isOwner || not (memberCurrent membership) unless canDelete $ throwChatError $ CEGroupUserRole gInfo GROwner + -- prevent operator from accidentally clearing the rejection record when (relayOwnStatus gInfo == Just RSRejected) $ throwChatError $ CECommandError "cannot delete a rejected channel; run /_relay allow first" filesInfo <- withFastStore' $ \db -> getGroupFileInfo db user gInfo