This commit is contained in:
syuilo 2018-10-20 09:31:56 +09:00
parent 13f381710c
commit dbb7c756cd
No known key found for this signature in database
GPG Key ID: BDC4C49D06AB9D69
1 changed files with 3 additions and 1 deletions

View File

@ -47,7 +47,9 @@ export default Vue.extend({
mounted() { mounted() {
if (this.connection) this.connection.close(); if (this.connection) this.connection.close();
this.connection = (this as any).os.stream.connectToChannel('hashtag', this.tagTl.query); this.connection = (this as any).os.stream.connectToChannel('hashtag', {
q: this.tagTl.query
});
this.connection.on('note', this.onNote); this.connection.on('note', this.onNote);
this.fetch(); this.fetch();