forked from lavina/lavina
1
0
Fork 0

Compare commits

..

2 Commits

Author SHA1 Message Date
Nikita Vilunov bb4bc43abf fmt 2024-05-26 18:19:08 +02:00
Nikita Vilunov fe802aca26 xmpp: add support leaving MUCs via unavailable presence 2024-05-26 18:18:30 +02:00
1 changed files with 0 additions and 1 deletions

View File

@ -414,7 +414,6 @@ impl Player {
} else { } else {
let room = self.services.rooms.get_room(&self.services, &room_id).await; let room = self.services.rooms.get_room(&self.services, &room_id).await;
if let Some(room) = room { if let Some(room) = room {
room.subscribe(&self.player_id, self.handle.clone()).await;
self.my_rooms.insert(room_id, RoomRef::Local(room)); self.my_rooms.insert(room_id, RoomRef::Local(room));
} else { } else {
tracing::error!("Room #{room_id:?} not found"); tracing::error!("Room #{room_id:?} not found");