mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-08-27 22:34:51 +00:00
plan: web previews for channels (#7022)
* plan: web previews for channels * types for recipient side to support channel web previews and domain names * fix * migrations * update schema and api types * update schema * rename migrations * core: check member role --------- Co-authored-by: Evgeny @ SimpleX Chat <259188159+evgeny-simplex@users.noreply.github.com>
This commit is contained in:
co-authored by
Evgeny @ SimpleX Chat <259188159+evgeny-simplex@users.noreply.github.com>
parent
68fc1b5d22
commit
9bb2bec3fa
@@ -3251,6 +3251,12 @@ testGLinkReviewMember =
|
||||
alice ##> "/_delete member chat #1 5"
|
||||
alice <## "bad chat command: member is pending"
|
||||
|
||||
-- moderator can't accept member with a role higher than their own
|
||||
dan ##> "/_accept member #1 5 admin"
|
||||
dan <## "#team: you have insufficient permissions for this action, the required role is admin"
|
||||
dan ##> "/_accept member #1 5 owner"
|
||||
dan <## "#team: you have insufficient permissions for this action, the required role is owner"
|
||||
|
||||
-- accept member
|
||||
dan ##> "/_accept member #1 5 member"
|
||||
concurrentlyN_
|
||||
|
||||
Reference in New Issue
Block a user