mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 23:27:26 +01:00
do not sync party every time the page is opened, update chat in realtime
This commit is contained in:
@@ -28,7 +28,7 @@ habitrpg.controller("PartyCtrl", ['$rootScope','$scope','Groups','Chat','User','
|
||||
}
|
||||
|
||||
if ($state.is('options.social.party') && $rootScope.party && $rootScope.party.id) {
|
||||
Groups.party(true).then(handlePartyResponse, handlePartyError);
|
||||
Groups.party().then(handlePartyResponse, handlePartyError);
|
||||
} else {
|
||||
Groups.Group.syncParty().then(handlePartyResponse, handlePartyError);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user