mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-10-22 21:52:28 +00:00
core, ui: allow to delete member support chat; rename reject action (#5927)
This commit is contained in:
1 parent
ca9f6267e4
commit
1a80ecfc29
15 files changed
+212
-48
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user