From 8cc40038375c33886f7c6f7d429c33a47eab8fb9 Mon Sep 17 00:00:00 2001 From: zotlabs Date: Thu, 22 Aug 2019 19:39:11 -0700 Subject: issues with image import to zot6 - wrong mid. Also label source project of zotfeed since it is not completely compatible across projects. --- Zotlabs/Lib/Activity.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Zotlabs/Lib/Activity.php') diff --git a/Zotlabs/Lib/Activity.php b/Zotlabs/Lib/Activity.php index 0757eec37..12b6cbdfd 100644 --- a/Zotlabs/Lib/Activity.php +++ b/Zotlabs/Lib/Activity.php @@ -596,7 +596,7 @@ class Activity { $i['obj'] = json_decode($i['obj'],true); } if($i['obj']['type'] === ACTIVITY_OBJ_PHOTO) { - $i['obj']['id'] = $i['id']; + $i['obj']['id'] = $i['mid']; } $obj = self::encode_object($i['obj']); -- cgit v1.2.3