Skip to content

Commit

Permalink
refactor: Remove unnecessary code and optimize imports in chat_servic…
Browse files Browse the repository at this point in the history
…e.py
  • Loading branch information
crushr3sist committed Jun 11, 2024
1 parent 944ce0b commit c0bae78
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion r3almX_backend/realtime_service/chat_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@ async def broadcast(self, room_id: str):
async with message.process():
# Decode the message body and split it into user and data
message_received = json.loads(message.body.decode())

# Send the message to each connected WebSocket in the room
for websocket in room:
await websocket.send_json(
Expand Down

0 comments on commit c0bae78

Please sign in to comment.