mirror of
https://github.com/friendica/friendica
synced 2024-11-19 07:03:40 +00:00
Setting the post reason
This commit is contained in:
parent
016911a20c
commit
76e6a71822
1 changed files with 1 additions and 1 deletions
|
@ -782,7 +782,7 @@ class Notifier
|
|||
if ((count($receivers) == 1) && Network::isLocalLink($inbox)) {
|
||||
$contact = Contact::getById($receivers[0], ['url']);
|
||||
if ($target_uid = User::getIdForURL($contact['url'])) {
|
||||
$fields = ['protocol' => Conversation::PARCEL_LOCAL_DFRN, 'direction' => Conversation::PUSH];
|
||||
$fields = ['protocol' => Conversation::PARCEL_LOCAL_DFRN, 'direction' => Conversation::PUSH, 'post-reason' => Item::PR_BCC];
|
||||
Item::storeForUserByUriId($target_item['uri-id'], $target_uid, $fields, $target_item['uid']);
|
||||
Logger::info('Delivered locally', ['cmd' => $cmd, 'id' => $target_item['id'], 'inbox' => $inbox]);
|
||||
continue;
|
||||
|
|
Loading…
Reference in a new issue