Skip to content

Commit

Permalink
Merge pull request #2 from szluohua/szluohua-patch-1
Browse files Browse the repository at this point in the history
Click the Allow Reacting option error
  • Loading branch information
szluohua authored Mar 16, 2017
2 parents 91947b5 + 8e72136 commit 6bf6b40
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ Template.channelSettings.onCreated ->
canView: (room) => room.t isnt 'd' and room.ro
canEdit: (room) => RocketChat.authz.hasAllPermission('set-react-when-readonly', room._id)
save: (value, room) ->
Meteor.call 'saveRoomSettings', room._id, 'reactWhenReadOnly', value, (err, result) ->
Meteor.call 'saveRoomSettings', room._id, 'reactWhenReadOnly', value, (err, result) =>
return handleError err if err
toastr.success TAPi18n.__ 'React_when_read_only_changed_successfully'

Expand Down

0 comments on commit 6bf6b40

Please sign in to comment.