profile: drop gravatar support
gravatar is owned by an external entity (Automattic) and we have an unnecessary dep to this service. users can just upload a profile pic
This commit is contained in:
@@ -59,6 +59,7 @@ function create() {
|
||||
result.body.isAtLeastOwner = [ ROLES.OWNER ].indexOf(result.body.role) !== -1;
|
||||
|
||||
result.body.backgroundImageUrl = result.body.hasBackgroundImage ? `${API_ORIGIN}/api/v1/profile/background_image?access_token=${accessToken}&bustcache=${Date.now()}` : '';
|
||||
result.body.avatarUrl = `${API_ORIGIN}/api/v1/profile/avatar/${result.body.id}`;
|
||||
|
||||
profileCached = result.body;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user