Fix syntax error

This commit is contained in:
syuilo 2018-10-10 20:58:42 +09:00
parent 8a62748e39
commit 1d582f5ad2
No known key found for this signature in database
GPG Key ID: BDC4C49D06AB9D69

View File

@ -71,7 +71,7 @@ export default Vue.extend({
}, },
mounted() { mounted() {
this.connection =((this as any).os.stream.connectToChannel('messaging', { otherparty: this.user.id }); this.connection = (this as any).os.stream.connectToChannel('messaging', { otherparty: this.user.id });
this.connection.on('message', this.onMessage); this.connection.on('message', this.onMessage);
this.connection.on('read', this.onRead); this.connection.on('read', this.onRead);