Skip to content
Snippets Groups Projects
Unverified Commit f6351e8b authored by Kevin Aleman's avatar Kevin Aleman Committed by GitHub
Browse files

regression: `executeSetReaction` receiving wrong params (#33131)

parent d9dd2c4d
No related branches found
No related tags found
No related merge requests found
......@@ -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<void> {
......@@ -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);
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment