summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormei23 <m@m544.net>2018-09-01 16:39:46 +0900
committermei23 <m@m544.net>2018-09-01 20:23:01 +0900
commit795fc5e7bca45aca90815cdaa9404cdb1fd73eb6 (patch)
treed22c1232a1f6984c538330101d9a6a053f693fee
parent8.19.1 (diff)
downloadsharkey-795fc5e7bca45aca90815cdaa9404cdb1fd73eb6.tar.gz
sharkey-795fc5e7bca45aca90815cdaa9404cdb1fd73eb6.tar.bz2
sharkey-795fc5e7bca45aca90815cdaa9404cdb1fd73eb6.zip
Set Person.updatedAt at first
-rw-r--r--src/remote/activitypub/models/person.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/remote/activitypub/models/person.ts b/src/remote/activitypub/models/person.ts
index 3bd4e16763..212a1c5ee6 100644
--- a/src/remote/activitypub/models/person.ts
+++ b/src/remote/activitypub/models/person.ts
@@ -139,6 +139,7 @@ export async function createPerson(uri: string, resolver?: Resolver): Promise<IU
avatarId: null,
bannerId: null,
createdAt: Date.parse(person.published) || null,
+ updatedAt: new Date(),
description: htmlToMFM(person.summary),
followersCount,
followingCount,