xmpp: Allow resyncs in Agent::join_room
Signed-off-by: pep <pep@bouah.net>
This commit is contained in:
parent
6624dffe25
commit
a2ed5026f0
5 changed files with 19 additions and 10 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue