Skip to content

Commit

Permalink
fix broacast reply on private messages
Browse files Browse the repository at this point in the history
  • Loading branch information
ggazzo committed May 28, 2018
1 parent 3bdc7b3 commit 8db82b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/rocketchat-ui-message/client/message.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Template.message.helpers({
},
broadcast() {
const instance = Template.instance();
return !this.t && this.u._id !== Meteor.userId() && instance.room && instance.room.broadcast;
return !this.private && this.t && this.u._id !== Meteor.userId() && instance.room && instance.room.broadcast;
},
isIgnored() {
return this.ignored;
Expand Down

0 comments on commit 8db82b0

Please sign in to comment.