diff options
author | friendica <info@friendica.com> | 2013-07-14 01:12:05 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-07-14 01:12:05 -0700 |
commit | 39856f7cb1c15bd737d60581e0a54a061896f99d (patch) | |
tree | 993bf6a736ac63c477ce4d0533e2e14d33fd4da6 /include/items.php | |
parent | df23bc9ad4511c1faab2efcf9a3558d81a8c2058 (diff) | |
download | volse-hubzilla-39856f7cb1c15bd737d60581e0a54a061896f99d.tar.gz volse-hubzilla-39856f7cb1c15bd737d60581e0a54a061896f99d.tar.bz2 volse-hubzilla-39856f7cb1c15bd737d60581e0a54a061896f99d.zip |
Add self to recipient lists. Sure we already have a copy but it's possible our nomadic channel clones don't.
Diffstat (limited to 'include/items.php')
-rwxr-xr-x | include/items.php | 5 |
1 files changed, 5 insertions, 0 deletions
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; } |