projects
/
oweals
/
peertube.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7bc2917
)
Fix actor refresh
author
Chocobozzz
<me@florianbigard.com>
Thu, 11 Jan 2018 13:19:18 +0000
(14:19 +0100)
committer
Chocobozzz
<me@florianbigard.com>
Thu, 11 Jan 2018 13:19:18 +0000
(14:19 +0100)
server/lib/activitypub/actor.ts
patch
|
blob
|
history
diff --git
a/server/lib/activitypub/actor.ts
b/server/lib/activitypub/actor.ts
index 0882ab843e690ad4bd69077c2ce51900747ec36d..1e1eab54ae3d3b337b0bda2753630757c991f9df 100644
(file)
--- a/
server/lib/activitypub/actor.ts
+++ b/
server/lib/activitypub/actor.ts
@@
-320,6
+320,8
@@
async function refreshActorIfNeeded (actor: ActorModel) {
await updateActorAvatarInstance(actor, result.avatarName, t)
}
+ // Force update
+ actor.setDataValue('updatedAt', new Date())
await actor.save({ transaction: t })
if (actor.Account) {