stash
This commit is contained in:
parent
c1e7a8910d
commit
fe93366bd2
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue