Skip to content

Commit

Permalink
Merge pull request #888 from RocketChat/bugfix/remove-channel-as-favo…
Browse files Browse the repository at this point in the history
…rite

Fix #887.  Can't remove channel from favorites.
  • Loading branch information
rwakida committed Sep 25, 2015
2 parents 39fe136 + 6be262b commit 51c242c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/methods/toogleFavorite.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ Meteor.methods

console.log '[methods] toogleFavorite -> '.green, 'userId:', Meteor.userId(), 'arguments:', arguments

RocketChat.models.Subscriptions.setFavoriteByRoomIdAndUserId rid, Meteor.userId()
RocketChat.models.Subscriptions.setFavoriteByRoomIdAndUserId rid, Meteor.userId(), f

0 comments on commit 51c242c

Please sign in to comment.