Channels: Add channel from one group to another

15 views
Skip to first unread message

Никита Екатеринчук

unread,
Aug 20, 2017, 6:19:49 AM8/20/17
to Django users
I have an application with chat system.
I create Groups for each chat and each User
When I create a chat I have to notify all members about creation and create a new channel Group for this chat, with all channels, associated with chat members.

Does exist a possibility to get channels from one group (single User group) and add them into another group?

Currently, I send notifications each chat member and wait for responses for adding them into chat Group.
I would like to create chat Group right away and make one notification into this Group.

Andrew Godwin

unread,
Aug 20, 2017, 7:16:53 AM8/20/17
to django...@googlegroups.com
There's no fast-performing way to do this - we'll be able to make it easier in the upcoming Channels 2.0, but for now the best you could get is going through the list of channels in the group and that's very slow.

Andrew

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/0ae5d6ce-3286-427c-9923-c6ec5986e60d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages