fix(socketio): leave room on unsubscribe

https://discord.com/channels/1020123559063990373/1049495067846524939/1171976251704086559
This commit is contained in:
Kevin Turner 2023-11-08 17:03:39 -08:00 committed by psychedelicious
parent 2e404b7cca
commit f793fdf3d4

View File

@ -34,4 +34,4 @@ class SocketIO:
async def _handle_unsub_queue(self, sid, data, *args, **kwargs):
if "queue_id" in data:
await self.__sio.enter_room(sid, data["queue_id"])
await self.__sio.leave_room(sid, data["queue_id"])