diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2018-09-17 09:00:20 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2018-09-17 09:00:20 +0900 |
| commit | 109738ccb9ef8c203685e6f4bc31986ac2a17046 (patch) | |
| tree | f91e8bb9c9ec445a10b018a934c88ebbdfeb8db1 /src/client/app/common/scripts | |
| parent | 8.44.1 (diff) | |
| download | sharkey-109738ccb9ef8c203685e6f4bc31986ac2a17046.tar.gz sharkey-109738ccb9ef8c203685e6f4bc31986ac2a17046.tar.bz2 sharkey-109738ccb9ef8c203685e6f4bc31986ac2a17046.zip | |
ハッシュタグタイムラインを実装
Diffstat (limited to 'src/client/app/common/scripts')
| -rw-r--r-- | src/client/app/common/scripts/streaming/hashtag.ts | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/client/app/common/scripts/streaming/hashtag.ts b/src/client/app/common/scripts/streaming/hashtag.ts new file mode 100644 index 0000000000..276b8f8d3d --- /dev/null +++ b/src/client/app/common/scripts/streaming/hashtag.ts @@ -0,0 +1,13 @@ +import Stream from './stream'; +import MiOS from '../../../mios'; + +export class HashtagStream extends Stream { + constructor(os: MiOS, me, q) { + super(os, 'hashtag', me ? { + i: me.token, + q: JSON.stringify(q) + } : { + q: JSON.stringify(q) + }); + } +} |