Admin room alias commands
- room alias set - room alias remove - room alias which - room alias list
This commit is contained in:
parent
6fdeec1108
commit
ebb94341c8
4 changed files with 245 additions and 7 deletions
|
@ -16,4 +16,9 @@ pub trait Data: Send + Sync {
|
|||
&'a self,
|
||||
room_id: &RoomId,
|
||||
) -> Box<dyn Iterator<Item = Result<OwnedRoomAliasId>> + 'a>;
|
||||
|
||||
/// Returns all local aliases on the server
|
||||
fn all_local_aliases<'a>(
|
||||
&'a self,
|
||||
) -> Box<dyn Iterator<Item = Result<(OwnedRoomId, String)>> + 'a>;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue