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

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