mirror of
https://github.com/django/daphne.git
synced 2025-04-21 17:22:03 +03:00
Make sure channels() actually returns the channel list
This commit is contained in:
parent
4469b55d96
commit
14bc306214
|
@ -81,7 +81,7 @@ class Group(object):
|
|||
self.channel_backend.group_discard(self.name, channel)
|
||||
|
||||
def channels(self):
|
||||
self.channel_backend.group_channels(self.name)
|
||||
return self.channel_backend.group_channels(self.name)
|
||||
|
||||
def send(self, content):
|
||||
if not isinstance(content, dict):
|
||||
|
|
Loading…
Reference in New Issue
Block a user