From 2fd65503dab4653d8169a39ae7cdf9f9a329473e Mon Sep 17 00:00:00 2001 From: Michael Date: Sun, 2 Dec 2018 15:01:08 +0000 Subject: [PATCH] Avoid database error that the field "guid" is not present in the contact table --- src/Protocol/ActivityPub/Receiver.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Protocol/ActivityPub/Receiver.php b/src/Protocol/ActivityPub/Receiver.php index c074e49f6c..7fe1f128f4 100644 --- a/src/Protocol/ActivityPub/Receiver.php +++ b/src/Protocol/ActivityPub/Receiver.php @@ -599,6 +599,7 @@ class Receiver $photo = defaults($profile, 'photo', null); unset($profile['photo']); unset($profile['baseurl']); + unset($profile['guid']); $profile['nurl'] = Strings::normaliseLink($profile['url']); DBA::update('contact', $profile, ['id' => $cid]);