From c9fd3c5e2a8e0d92f498c4e755eb88521e44e09d Mon Sep 17 00:00:00 2001 From: Nabhag Motivaras <65061890+Nabhag8848@users.noreply.github.com> Date: Tue, 14 Feb 2023 13:16:59 +0530 Subject: [PATCH] [FIX] IPostMessageReacted return field named isReacted instead isRemoved (#27561) Co-authored-by: Debdut Chakraborty Co-authored-by: Guilherme Gazzo Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com> --- apps/meteor/app/apps/server/bridges/listeners.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/meteor/app/apps/server/bridges/listeners.js b/apps/meteor/app/apps/server/bridges/listeners.js index ced6e1aea31b..d9c7ff642114 100644 --- a/apps/meteor/app/apps/server/bridges/listeners.js +++ b/apps/meteor/app/apps/server/bridges/listeners.js @@ -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;