Some bug fixes

This commit is contained in:
syuilo 2018-04-08 03:58:11 +09:00
parent a1b490afa7
commit a02ee3a08b
81 changed files with 337 additions and 1318 deletions

View file

@ -7,13 +7,13 @@ import MiOS from '../../mios';
export class MessagingStream extends Stream {
constructor(os: MiOS, me, otherparty) {
super(os, 'messaging', {
i: me.account.token,
i: me.token,
otherparty
});
(this as any).on('_connected_', () => {
this.send({
i: me.account.token
i: me.token
});
});
}