xmpp: Allow resyncs in Agent::join_room

Signed-off-by: pep <pep@bouah.net>
This commit is contained in:
pep 2025-12-28 17:48:49 +01:00
commit a2ed5026f0
5 changed files with 19 additions and 10 deletions

View file

@ -103,10 +103,8 @@ async fn handle_events(client: &mut Agent, event: Event, rooms: &Vec<BareJid>) {
log::info!("Joining room {} from CLI argument…", room);
client
.join_room(JoinRoomSettings {
room: room.clone(),
nick: None,
password: None,
status: Some(("en", "Yet another bot!")),
..JoinRoomSettings::new(room.clone())
})
.await;
}