hello_bot accepts a list of room JIDs to join to say hello

This commit is contained in:
xmppftw xmppftw 2024-12-16 20:31:35 +01:00 committed by Link Mauve
commit 8c3c8c7c97
2 changed files with 37 additions and 3 deletions

View file

@ -181,6 +181,11 @@ impl<'a> RoomMessageSettings<'a> {
lang: None,
}
}
pub fn with_lang(mut self, lang: &'a str) -> Self {
self.lang = Some(lang);
self
}
}
pub async fn send_room_message<'a, C: ServerConnector>(