mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-19 07:37:25 +01:00
sync user n party chat system message
This commit is contained in:
@@ -139,6 +139,7 @@ angular.module('habitrpg')
|
||||
|
||||
// If a system message comes in, sync the party as quest status may have changed
|
||||
if (chatData.uuid === 'system') {
|
||||
$rootScope.User.sync();
|
||||
Groups.party(true).then(function (syncedParty) {
|
||||
// Assign and not replace so that all the references get the modifications
|
||||
_.assign($rootScope.party, syncedParty);
|
||||
|
||||
Reference in New Issue
Block a user