forked from lavina/lavina
This commit is contained in:
parent
cb071057b4
commit
2cd5483700
|
@ -81,6 +81,7 @@ impl<'a> XmppConnection<'a> {
|
|||
async fn leave_muc(&mut self, output: &mut Vec<Event<'static>>, id: Option<String>, name: Name) -> Result<()> {
|
||||
self.user_handle.leave_room(RoomId::try_from(name.0.clone())?).await?;
|
||||
let response = Presence {
|
||||
id,
|
||||
to: Some(Jid {
|
||||
name: Some(self.user.xmpp_name.clone()),
|
||||
server: Server(self.hostname.clone()),
|
||||
|
|
Loading…
Reference in New Issue