From 6be262b43be3997dbc2a892a50e5f146b607317c Mon Sep 17 00:00:00 2001 From: Reid Wakida Date: Thu, 24 Sep 2015 15:51:49 -1000 Subject: [PATCH] Fix #887. Meteor method did not pass boolean to Subscription model. --- server/methods/toogleFavorite.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/methods/toogleFavorite.coffee b/server/methods/toogleFavorite.coffee index a8c4cf5fa994..853bfe00c771 100644 --- a/server/methods/toogleFavorite.coffee +++ b/server/methods/toogleFavorite.coffee @@ -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