Add self to recipient lists. Sure we already have a copy but it's possible our nomadic channel clones don't.

This commit is contained in:
friendica
2013-07-14 01:12:05 -07:00
parent df23bc9ad4
commit 39856f7cb1
91 changed files with 1774 additions and 1546 deletions

View File

@@ -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;
}