summaryrefslogtreecommitdiff
path: root/src/web/app/common/scripts/messaging-stream.ls
diff options
context:
space:
mode:
authorTosuke <tasukeprg@gmail.com>2017-01-06 14:39:24 +0900
committerTosuke <tasukeprg@gmail.com>2017-01-06 14:39:24 +0900
commit0420fee5d2c6a944a7b2cf13307dfadce9796b59 (patch)
treed8c361b2c340c03927a5a417e5a91b3ab58db34b /src/web/app/common/scripts/messaging-stream.ls
parent[Swagger]Add /auth/accept (diff)
parentUpdate changelog (diff)
downloadsharkey-0420fee5d2c6a944a7b2cf13307dfadce9796b59.tar.gz
sharkey-0420fee5d2c6a944a7b2cf13307dfadce9796b59.tar.bz2
sharkey-0420fee5d2c6a944a7b2cf13307dfadce9796b59.zip
Merge branch 'master' of github.com:syuilo/misskey into swagger
Diffstat (limited to 'src/web/app/common/scripts/messaging-stream.ls')
-rw-r--r--src/web/app/common/scripts/messaging-stream.ls2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/web/app/common/scripts/messaging-stream.ls b/src/web/app/common/scripts/messaging-stream.ls
index 298285dc93..ac3e74f1f5 100644
--- a/src/web/app/common/scripts/messaging-stream.ls
+++ b/src/web/app/common/scripts/messaging-stream.ls
@@ -9,7 +9,7 @@ class Connection
@event = riot.observable!
@me = me
host = CONFIG.api.url.replace \http \ws
- @socket = new ReconnectingWebSocket "#{host}/messaging?otherparty=#{otherparty}"
+ @socket = new ReconnectingWebSocket "#{host}/messaging?i=#{me.token}&otherparty=#{otherparty}"
@socket.add-event-listener \open @on-open
@socket.add-event-listener \message @on-message