Merge pull request #2840 from ostcar/fix_channels

Fix channels
This commit is contained in:
Norman Jäckel 2017-01-13 21:31:58 +01:00 committed by GitHub
commit 6d82208fb0
2 changed files with 2 additions and 1 deletions

View File

@ -24,6 +24,7 @@ def ws_add_site(message):
message.channel_session['user_id'] = message.user.id
# Saves the reply channel to the user. Uses 0 for anonymous users.
websocket_user_cache.add(message.user.id or 0, message.reply_channel.name)
message.reply_channel.send({"accept": True})
@channel_session_user

View File

@ -1,5 +1,5 @@
# Requirements for OpenSlides in production in alphabetical order
channels>=0.17,<1.1
channels>=1.0,<1.1
Django>=1.10.4,<1.11
djangorestframework>=3.4,<3.5
jsonfield>=1.0,<1.1