mirror of
https://github.com/discourse/discourse.git
synced 2025-06-06 23:07:28 +08:00
FEATURE: add support for generic external avatar services
This changes it so we only ship an avatar template down to the client it has no magic, all it knows is how to plug in size
This commit is contained in:
@ -1,6 +1,5 @@
|
||||
import { url } from 'discourse/lib/computed';
|
||||
import RestModel from 'discourse/models/rest';
|
||||
import avatarTemplate from 'discourse/lib/avatar-template';
|
||||
import UserStream from 'discourse/models/user-stream';
|
||||
import UserPostsStream from 'discourse/models/user-posts-stream';
|
||||
import Singleton from 'discourse/mixins/singleton';
|
||||
@ -257,11 +256,6 @@ const User = RestModel.extend({
|
||||
});
|
||||
},
|
||||
|
||||
@computed("username", "uploaded_avatar_id", "letter_avatar_color")
|
||||
avatarTemplate(username, uploadedAvatarId, letterAvatarColor) {
|
||||
return avatarTemplate(username, uploadedAvatarId, letterAvatarColor);
|
||||
},
|
||||
|
||||
/*
|
||||
Change avatar selection
|
||||
*/
|
||||
|
Reference in New Issue
Block a user