Added support for resolving room aliases to room ids and persisting this lookup in the config file

This commit is contained in:
Philip (a-0) 2022-09-01 19:17:23 +02:00
parent 4bd50c3806
commit e900d9c1e6
4 changed files with 28 additions and 2 deletions

View file

@ -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 {