summaryrefslogtreecommitdiff
path: root/src/web/app/common/scripts/streaming/drive-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/streaming/drive-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/streaming/drive-stream.ts')
-rw-r--r--src/web/app/common/scripts/streaming/drive-stream.ts12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/web/app/common/scripts/streaming/drive-stream.ts b/src/web/app/common/scripts/streaming/drive-stream.ts
new file mode 100644
index 0000000000..0da3f12554
--- /dev/null
+++ b/src/web/app/common/scripts/streaming/drive-stream.ts
@@ -0,0 +1,12 @@
+import Stream from './stream';
+
+/**
+ * Drive stream connection
+ */
+export default class Connection extends Stream {
+ constructor(me) {
+ super('drive', {
+ i: me.token
+ });
+ }
+}