This commit is contained in:
syuilo 2018-10-20 09:31:56 +09:00
parent adedffa4a8
commit 51f0e12062

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();