mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 23:27:26 +01:00
Marked group messages as seen when user syncs new messages
This commit is contained in:
@@ -335,6 +335,8 @@ habitrpg.controller("GroupsCtrl", ['$scope', '$rootScope', 'Shared', 'Groups', '
|
|||||||
|
|
||||||
$scope.sync = function(group){
|
$scope.sync = function(group){
|
||||||
group.$get();
|
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
|
// List of Ordering options for the party members list
|
||||||
|
|||||||
Reference in New Issue
Block a user