mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-14 04:37:00 +00:00
implement admin command to force join list of local users
Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
1 parent
0a281241ef
commit
c71db93e22
2 files changed
+153
-1
No files matched your search
@@ -124,4 +124,19 @@ pub(super) enum UserCommand {
|
||||
RedactEvent {
|
||||
event_id: Box<EventId>,
|
||||
},
|
||||
|
||||
/// - Force joins a specified list of local users to join the specified
|
||||
/// room.
|
||||
///
|
||||
/// Specify a codeblock of usernames.
|
||||
///
|
||||
/// At least 1 server admin must be in the room to prevent abuse.
|
||||
///
|
||||
/// Requires the `--yes-i-want-to-do-this` flag.
|
||||
ForceJoinListOfLocalUsers {
|
||||
room_id: OwnedRoomOrAliasId,
|
||||
|
||||
#[arg(long)]
|
||||
yes_i_want_to_do_this: bool,
|
||||
},
|
||||
}
|
||||
Reference in new issue
Block a user