Skip to content

Commit

Permalink
Disable message reply action for same user
Browse files Browse the repository at this point in the history
  • Loading branch information
tassoevan committed Apr 6, 2019
1 parent 8fea4c9 commit f9dc0b4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/ui-utils/client/lib/MessageAction.js
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,10 @@ Meteor.startup(async function() {
return false;
}

if (message.u && message.u._id === Meteor.userId()) {
return false;
}

return true;
},
order: 1,
Expand Down

0 comments on commit f9dc0b4

Please sign in to comment.