forked from lavina/lavina
1
0
Fork 0
This commit is contained in:
Nikita Vilunov 2024-05-27 16:21:43 +02:00
parent cb071057b4
commit 2cd5483700
1 changed files with 1 additions and 0 deletions

View File

@ -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()),