Marked group messages as seen when user syncs new messages

This commit is contained in:
TheHollidayInn
2015-04-02 10:58:24 -05:00
parent 507c1dd69a
commit 0e2867cce1

View File

@@ -335,6 +335,8 @@ habitrpg.controller("GroupsCtrl", ['$scope', '$rootScope', 'Shared', 'Groups', '
$scope.sync = function(group){
group.$get();
//When the user clicks fetch recent messages we need to update that the user has seen the new messages
Groups.seenMessage(group._id);
}
// List of Ordering options for the party members list