summaryrefslogtreecommitdiff
path: root/src/web/app/common/scripts/messaging-stream.ts
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2017-11-17 01:24:44 +0900
committersyuilo <syuilotan@yahoo.co.jp>2017-11-17 01:24:44 +0900
commitc614e6f5d73b3b4314c7f6abf52260e58cc176ad (patch)
treeb8ad5a47d532a9af4060022e5ef3de4166f884c5 /src/web/app/common/scripts/messaging-stream.ts
parenttypo (diff)
downloadmisskey-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.ts21
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;