mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 15:17:25 +01:00
@@ -152,8 +152,9 @@ habitrpg.controller("PartyCtrl", ['$rootScope','$scope','Groups','Chat','User','
|
||||
}
|
||||
|
||||
$scope.reject = function(party) {
|
||||
Groups.Group.rejectInvite(party.id);
|
||||
User.set({'invitations.party':{}});
|
||||
Groups.Group.rejectInvite(party.id).then(function () {
|
||||
User.sync();
|
||||
});
|
||||
}
|
||||
|
||||
$scope.questInit = function() {
|
||||
|
||||
Reference in New Issue
Block a user