Skip to content

Commit

Permalink
[FIX] IPostMessageReacted return field named isReacted instead isRemo…
Browse files Browse the repository at this point in the history
…ved (#27561)

Co-authored-by: Debdut Chakraborty <debdut.chakraborty@rocket.chat>
Co-authored-by: Guilherme Gazzo <guilhermegazzo@gmail.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
  • Loading branch information
4 people authored Feb 14, 2023
1 parent 3081c36 commit c9fd3c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/meteor/app/apps/server/bridges/listeners.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,12 +80,12 @@ export class AppListenerBridge {
user: this.orch.getConverters().get('users').convertToApp(userDeleted),
};
case AppInterface.IPostMessageReacted:
const [userReacted, reaction, isRemoved] = payload;
const [userReacted, reaction, isReacted] = payload;
return {
message: msg,
user: this.orch.getConverters().get('users').convertToApp(userReacted),
reaction,
isRemoved,
isReacted,
};
case AppInterface.IPostMessageFollowed:
const [userFollowed, isUnfollow] = payload;
Expand Down

0 comments on commit c9fd3c5

Please sign in to comment.