Fix bug
This commit is contained in:
parent
77ff7b9df0
commit
541f5bc0a6
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ export default class extends Channel {
|
||||||
public onMessage(type: string, body: any) {
|
public onMessage(type: string, body: any) {
|
||||||
switch (type) {
|
switch (type) {
|
||||||
case 'read':
|
case 'read':
|
||||||
read(this.user!.id, this.otherpartyId, body.id);
|
read(this.user!.id, this.otherpartyId, [body.id]);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue