mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-24 02:53:08 +02:00
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) {
|
||||
switch (type) {
|
||||
case 'read':
|
||||
read(this.user!.id, this.otherpartyId, body.id);
|
||||
read(this.user!.id, this.otherpartyId, [body.id]);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue