kopia lustrzana https://github.com/friendica/friendica
Issue 14364: Fix post delivery of groups
rodzic
89ac1c829b
commit
4e094cc68f
|
@ -547,9 +547,9 @@ class Item
|
|||
$item['private'] = $private_group ? ItemModel::PRIVATE : ItemModel::UNLISTED;
|
||||
|
||||
if ($only_to_group) {
|
||||
$pcid = Contact::getPublicContactId($group_contact['id'], $item['uid']);
|
||||
if ($pcid) {
|
||||
$item['owner-id'] = $pcid;
|
||||
$ucid = Contact::getUserContactId($group_contact['id'], $item['uid']);
|
||||
if ($ucid) {
|
||||
$item['owner-id'] = $ucid;
|
||||
unset($item['owner-link']);
|
||||
unset($item['owner-name']);
|
||||
unset($item['owner-avatar']);
|
||||
|
|
Ładowanie…
Reference in New Issue