parent
24d82a5768
commit
2ab990c814
@ -97,6 +97,7 @@ angular.module('myApp.services', [])
|
|||||||
} else {
|
} else {
|
||||||
safeReplaceObject(users[apiUser.id], apiUser);
|
safeReplaceObject(users[apiUser.id], apiUser);
|
||||||
}
|
}
|
||||||
|
$rootScope.$broadcast('user_update', apiUser.id);
|
||||||
|
|
||||||
if (cachedPhotoLocations[apiUser.id] !== undefined) {
|
if (cachedPhotoLocations[apiUser.id] !== undefined) {
|
||||||
safeReplaceObject(cachedPhotoLocations[apiUser.id], apiUser && apiUser.photo && apiUser.photo.photo_small || {empty: true});
|
safeReplaceObject(cachedPhotoLocations[apiUser.id], apiUser && apiUser.photo && apiUser.photo.photo_small || {empty: true});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user