core, ui: allow to delete member support chat; rename reject action (#5927)

This commit is contained in:
spaced4ndy authored and GitHub committed 2025-05-20 09:07:44 +00:00
1 parent ca9f6267e4
commit 1a80ecfc29
15 files changed
+212 -48

No files matched your search

+7
View File
@@ -3118,6 +3118,10 @@ testGLinkReviewMember =
(bob </)
-- deleting support chat with pending member is prohibited
alice ##> "/_delete member chat #1 5"
alice <## "bad chat command: member is pending"
-- accept member
dan ##> "/_accept member #1 5 member"
concurrentlyN_
@@ -6923,6 +6927,9 @@ testScopedSupportSingleModerator =
cath ##> "/_send #1(_support:3) text 5"
cath <## "#team: you have insufficient permissions for this action, the required role is moderator"
alice ##> "/_delete member chat #1 2"
alice <## "#team: bob support chat deleted"
testScopedSupportManyModerators :: HasCallStack => TestParams -> IO ()
testScopedSupportManyModerators =
testChat4 aliceProfile bobProfile cathProfile danProfile $ \alice bob cath dan -> do