Added support for resolving room aliases to room ids and persisting this lookup in the config file
This commit is contained in:
parent
4bd50c3806
commit
e900d9c1e6
4 changed files with 28 additions and 2 deletions
|
@ -24,6 +24,7 @@ pub struct Mapping {
|
|||
pub to: Option<String>,
|
||||
pub mxid_sender: Option<String>,
|
||||
pub room_id: String,
|
||||
pub room_alias: Option<String>,
|
||||
}
|
||||
|
||||
pub fn load_config(file_path: &str) -> Config {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue