mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-04 02:09:24 +02:00
Resolve "Per-user libraries" (use !368 instead)
This commit is contained in:
parent
b0ca181016
commit
2ea21994ee
144 changed files with 6749 additions and 5347 deletions
|
@ -16,3 +16,5 @@ class JsonAuthConsumer(JsonWebsocketConsumer):
|
|||
super().accept()
|
||||
for group in self.groups:
|
||||
channels.group_add(group, self.channel_name)
|
||||
for group in self.scope["user"].get_channels_groups():
|
||||
channels.group_add(group, self.channel_name)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue