mirror of
https://github.com/zulip/zulip.git
synced 2025-11-16 11:52:01 +00:00
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:
@@ -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():
|
||||
|
||||
Reference in New Issue
Block a user