From c5911fd347c76e8bdc05ea9f3ee9efed4a58c236 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 29 Dec 2017 19:10:13 +0100 Subject: Begin to add avatar to actors --- shared/models/activitypub/activitypub-actor.ts | 6 +++++- shared/models/actors/account.model.ts | 1 + 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'shared/models') diff --git a/shared/models/activitypub/activitypub-actor.ts b/shared/models/activitypub/activitypub-actor.ts index d9f80b94c..78256e9be 100644 --- a/shared/models/activitypub/activitypub-actor.ts +++ b/shared/models/activitypub/activitypub-actor.ts @@ -27,6 +27,10 @@ export interface ActivityPubActor { } // Not used - // icon: string[] + icon: { + type: 'Image' + mediaType: 'image/png' + url: string + } // liked: string } diff --git a/shared/models/actors/account.model.ts b/shared/models/actors/account.model.ts index d14701317..ef6fca539 100644 --- a/shared/models/actors/account.model.ts +++ b/shared/models/actors/account.model.ts @@ -4,6 +4,7 @@ export interface Account { id: number uuid: string name: string + displayName: string host: string followingCount: number followersCount: number -- cgit v1.2.3