This commit is contained in:
j3d1 2024-04-26 00:23:37 +02:00
parent c1e7a8910d
commit fe93366bd2

View file

@ -15,7 +15,7 @@ class NotificationDispatcher:
# Infinite loop to continuously listen for messages
while True:
# Blocking receive to get the message from the channel layer
message = await self.channel_layer.receive('user_notification')
message = await self.channel_layer.receive('general')
if message:
# Process the received message