Skip to content

Commit

Permalink
Chore: Add quote message option back on live chat rooms (#28038)
Browse files Browse the repository at this point in the history
  • Loading branch information
Filipe Marins authored Feb 15, 2023
1 parent f85d57a commit 364a153
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions apps/meteor/app/ui-utils/client/lib/messageActionDefault.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,14 +81,10 @@ Meteor.startup(async function () {

chat?.composer?.quoteMessage(message);
},
condition({ subscription, room }) {
condition({ subscription }) {
if (subscription == null) {
return false;
}
const isLivechatRoom = roomCoordinator.isLivechatRoom(room.t);
if (isLivechatRoom) {
return false;
}

return true;
},
Expand Down

0 comments on commit 364a153

Please sign in to comment.