Fix syntax error

This commit is contained in:
syuilo 2018-10-10 20:58:42 +09:00
parent 068b3a1f79
commit 7f149eae18

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