Revert "update-sockjs: Update sockjs from version 0.3.4 to 1.1.1."

This reverts commit 7bf10ec74f.

Apparently, SockJS 1.1.1 is broken with the browser used in our legacy
desktop app, resulting in messages being silently not sent.
This commit is contained in:
Tim Abbott
2017-01-10 11:07:16 -08:00
parent 4a57367a51
commit 007d4becfd
6 changed files with 2395 additions and 8 deletions

View File

@@ -304,7 +304,7 @@ def respond_send_message(data):
# securely send us the zulip.com cookie, which we use as part of our
# authentication scheme.
sockjs_router = sockjs.tornado.SockJSRouter(SocketConnection, "/sockjs",
{'sockjs_url': 'https://%s/node_modules/sockjs-client/sockjs.js' % (
{'sockjs_url': 'https://%s/static/third/sockjs/sockjs-0.3.4.js' % (
settings.EXTERNAL_HOST,),
'disabled_transports': ['eventsource', 'htmlfile']})
def get_sockjs_router():