From 845805bf349a92c69e7835b8eeacde790a683596 Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Thu, 21 Aug 2014 01:00:12 +0200 Subject: [PATCH] Provide a parent in the notification, so that threading of the notification mails is working. --- include/items.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/include/items.php b/include/items.php index fbbc5e7a..d929278e 100644 --- a/include/items.php +++ b/include/items.php @@ -1567,7 +1567,8 @@ function tag_deliver($uid,$item_id) { 'source_link' => $item['author-link'], 'source_photo' => $photo, 'verb' => ACTIVITY_TAG, - 'otype' => 'item' + 'otype' => 'item', + 'parent' => $item['parent'] )); @@ -1970,7 +1971,7 @@ function consume_feed($xml,$importer,&$contact, &$hub, $datedir = 0, $pass = 0) } if((is_array($contact)) && ($photo_timestamp) && (strlen($photo_url)) && ($photo_timestamp > $contact['avatar-date'])) { - logger('consume_feed: Updating photo for ' . $contact['name']); + logger('consume_feed: Updating photo for '.$contact['name'].' from '.$photo_url.' uid: '.$contact['uid']); require_once("include/Photo.php"); $photo_failure = false; $have_photo = false;