Compare commits

..

1 Commits

Author SHA1 Message Date
Shadowfacts bc98637dcf
Fix errors on actors missing public keys 2020-04-15 12:57:17 -04:00
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ async function cacheActor(actorObject: ActorObject) {
actor.displayName = actorObject.name;
actor.inbox = actorObject.inbox;
actor.iconURL = iconURL;
if (actor.publicKey && actor.publicKey.publicKeyPem) {
if (actorObject.publicKey && actorObject.publicKey.publicKeyPem) {
actor.publicKeyPem = actorObject.publicKey.publicKeyPem;
}
actor.isFollower = false;