mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-12 01:54:26 +02:00
"id" is now post-user-id
This commit is contained in:
parent
6e1483545e
commit
36357e790e
9 changed files with 76 additions and 63 deletions
|
@ -62,6 +62,13 @@ class Delivery
|
|||
return;
|
||||
}
|
||||
$target_id = $post['id'];
|
||||
} elseif (!in_array($cmd, [Delivery::MAIL, Delivery::SUGGESTION, Delivery::REMOVAL, Delivery::RELOCATION])) {
|
||||
$post = Post::selectFirst(['id', 'uid', 'uri-id'], ['item-id' => $post_uriid]);
|
||||
if (DBA::isResult($post)) {
|
||||
$target_id = $post['id'];
|
||||
$sender_uid = $post['uid'];
|
||||
$post_uriid = $post['uri-id'];
|
||||
}
|
||||
} else {
|
||||
$target_id = $post_uriid;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue