diff options
author | Chocobozzz <me@florianbigard.com> | 2019-08-09 11:32:40 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-08-09 11:32:40 +0200 |
commit | 557b13ae24019d9ab214bbea7eaa0f892c8f4b05 (patch) | |
tree | aa32396531acf93e3dfdb29880177813039ed77f /server/models/activitypub | |
parent | c5407d7046168abb4098df1408e7aa84519cb61a (diff) | |
download | PeerTube-557b13ae24019d9ab214bbea7eaa0f892c8f4b05.tar.gz PeerTube-557b13ae24019d9ab214bbea7eaa0f892c8f4b05.tar.zst PeerTube-557b13ae24019d9ab214bbea7eaa0f892c8f4b05.zip |
Lazy load avatars
Diffstat (limited to 'server/models/activitypub')
-rw-r--r-- | server/models/activitypub/actor.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/models/activitypub/actor.ts b/server/models/activitypub/actor.ts index bd6a2c8fd..9cc53f78a 100644 --- a/server/models/activitypub/actor.ts +++ b/server/models/activitypub/actor.ts | |||
@@ -513,7 +513,7 @@ export class ActorModel extends Model<ActorModel> { | |||
513 | getAvatarUrl () { | 513 | getAvatarUrl () { |
514 | if (!this.avatarId) return undefined | 514 | if (!this.avatarId) return undefined |
515 | 515 | ||
516 | return WEBSERVER.URL + this.Avatar.getWebserverPath() | 516 | return WEBSERVER.URL + this.Avatar.getStaticPath() |
517 | } | 517 | } |
518 | 518 | ||
519 | isOutdated () { | 519 | isOutdated () { |