Skip to content

Commit

Permalink
Show Less Message Options
Browse files Browse the repository at this point in the history
  • Loading branch information
alfonsofiz authored and alfonsofiz committed Sep 5, 2016
1 parent f4ca0c8 commit c11b142
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/rocketchat-lib/client/MessageAction.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ RocketChat.MessageAction = new class
unless config?.id
return false

unless _.contains(['pin-message','unpin-message','reaction-message','copy','Report Abuse'], config.id)
return false

Tracker.nonreactive ->
btns = buttons.get()
btns[config.id] = config
Expand Down

0 comments on commit c11b142

Please sign in to comment.