diff --git a/openslides/utils/autoupdate.py b/openslides/utils/autoupdate.py index 9df33d9a7..cf4dfebf0 100644 --- a/openslides/utils/autoupdate.py +++ b/openslides/utils/autoupdate.py @@ -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 diff --git a/requirements_production.txt b/requirements_production.txt index 703fa31c8..b09c5ba5c 100644 --- a/requirements_production.txt +++ b/requirements_production.txt @@ -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