diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2017-11-17 01:24:44 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2017-11-17 01:24:44 +0900 |
| commit | c614e6f5d73b3b4314c7f6abf52260e58cc176ad (patch) | |
| tree | b8ad5a47d532a9af4060022e5ef3de4166f884c5 /src/web/app/common/scripts/messaging-stream.ts | |
| parent | typo (diff) | |
| download | misskey-c614e6f5d73b3b4314c7f6abf52260e58cc176ad.tar.gz misskey-c614e6f5d73b3b4314c7f6abf52260e58cc176ad.tar.bz2 misskey-c614e6f5d73b3b4314c7f6abf52260e58cc176ad.zip | |
#925, #926, and refactoring
Diffstat (limited to 'src/web/app/common/scripts/messaging-stream.ts')
| -rw-r--r-- | src/web/app/common/scripts/messaging-stream.ts | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/src/web/app/common/scripts/messaging-stream.ts b/src/web/app/common/scripts/messaging-stream.ts deleted file mode 100644 index 306a733274..0000000000 --- a/src/web/app/common/scripts/messaging-stream.ts +++ /dev/null @@ -1,21 +0,0 @@ -import Stream from './stream'; - -/** - * Messaging stream connection - */ -class Connection extends Stream { - constructor(me, otherparty) { - super('messaging', { - i: me.token, - otherparty - }); - - (this as any).on('_connected_', () => { - this.send({ - i: me.token - }); - }); - } -} - -export default Connection; |