From 39856f7cb1c15bd737d60581e0a54a061896f99d Mon Sep 17 00:00:00 2001 From: friendica Date: Sun, 14 Jul 2013 01:12:05 -0700 Subject: Add self to recipient lists. Sure we already have a copy but it's possible our nomadic channel clones don't. --- include/items.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include') diff --git a/include/items.php b/include/items.php index a3d591899..898fc9ff8 100755 --- a/include/items.php +++ b/include/items.php @@ -49,6 +49,11 @@ function collect_recipients($item,&$private) { $recipients = check_list_permissions($item['uid'],$recipients,'view_stream'); + // add ourself just in case we have nomadic clones that need to get a copy. + + $recipients[] = $item['author_xchan']; + if($item['owner_xchan'] != $item['author_xchan']) + $recipients[] = $item['owner_xchan']; return $recipients; } -- cgit v1.2.3