Skip to content

Commit

Permalink
fix: error on sendmessage stub
Browse files Browse the repository at this point in the history
  • Loading branch information
ggazzo committed Sep 19, 2024
1 parent d0595a3 commit 94280ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/meteor/app/lib/client/methods/sendMessage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Meteor.methods<ServerMethods>({

await onClientMessageReceived(message as IMessage).then((message) => {
ChatMessage.insert(message);
return callbacks.run('afterSaveMessage', message, room);
return callbacks.run('afterSaveMessage', message, { room });
});
},
});

0 comments on commit 94280ad

Please sign in to comment.