summaryrefslogtreecommitdiff
path: root/src/web/app/common/scripts/channel-stream.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/web/app/common/scripts/channel-stream.ts')
-rw-r--r--src/web/app/common/scripts/channel-stream.ts16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/web/app/common/scripts/channel-stream.ts b/src/web/app/common/scripts/channel-stream.ts
new file mode 100644
index 0000000000..17944dbe45
--- /dev/null
+++ b/src/web/app/common/scripts/channel-stream.ts
@@ -0,0 +1,16 @@
+'use strict';
+
+import Stream from './stream';
+
+/**
+ * Channel stream connection
+ */
+class Connection extends Stream {
+ constructor(channelId) {
+ super('channel', {
+ channel: channelId
+ });
+ }
+}
+
+export default Connection;