diff --git a/apps/meteor/app/apps/server/bridges/messages.ts b/apps/meteor/app/apps/server/bridges/messages.ts index 5a60a37e8b0b..824a9d5c15af 100644 --- a/apps/meteor/app/apps/server/bridges/messages.ts +++ b/apps/meteor/app/apps/server/bridges/messages.ts @@ -130,7 +130,7 @@ export class AppMessageBridge extends MessageBridge { throw new Error('Invalid reaction'); } - return executeSetReaction(messageId, userId, reaction, true); + return executeSetReaction(userId, reaction, messageId, true); } protected async removeReaction(messageId: string, userId: string, reaction: Reaction): Promise { @@ -138,6 +138,6 @@ export class AppMessageBridge extends MessageBridge { throw new Error('Invalid reaction'); } - return executeSetReaction(messageId, userId, reaction, false); + return executeSetReaction(userId, reaction, messageId, false); } }