summaryrefslogtreecommitdiff
path: root/src/web/app/common/scripts/streaming/messaging.ts
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-03-15 19:53:46 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-03-15 19:53:46 +0900
commit1439c3245b961de910b753ff2d5069c17e79af4b (patch)
tree0ea43246eac335af39e32f2910b3131ce3ec782d /src/web/app/common/scripts/streaming/messaging.ts
parent:v: (diff)
downloadsharkey-1439c3245b961de910b753ff2d5069c17e79af4b.tar.gz
sharkey-1439c3245b961de910b753ff2d5069c17e79af4b.tar.bz2
sharkey-1439c3245b961de910b753ff2d5069c17e79af4b.zip
:v:
Diffstat (limited to 'src/web/app/common/scripts/streaming/messaging.ts')
-rw-r--r--src/web/app/common/scripts/streaming/messaging.ts5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/web/app/common/scripts/streaming/messaging.ts b/src/web/app/common/scripts/streaming/messaging.ts
index 1fff2286b3..c1b5875cfb 100644
--- a/src/web/app/common/scripts/streaming/messaging.ts
+++ b/src/web/app/common/scripts/streaming/messaging.ts
@@ -1,11 +1,12 @@
import Stream from './stream';
+import MiOS from '../../mios';
/**
* Messaging stream connection
*/
export class MessagingStream extends Stream {
- constructor(me, otherparty) {
- super('messaging', {
+ constructor(os: MiOS, me, otherparty) {
+ super(os, 'messaging', {
i: me.token,
otherparty
});