mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-22 07:23:40 +00:00
[twitter] Add yet another expected field for thread parent select in twitter_post_hook()
This commit is contained in:
parent
79b49cbaee
commit
6a4dd6ed4b
1 changed files with 1 additions and 1 deletions
|
@ -559,7 +559,7 @@ function twitter_post_hook(App $a, array &$b)
|
||||||
}
|
}
|
||||||
|
|
||||||
$condition = ['uri' => $b["thr-parent"], 'uid' => $b["uid"]];
|
$condition = ['uri' => $b["thr-parent"], 'uid' => $b["uid"]];
|
||||||
$thr_parent = Item::selectFirst(['uri', 'extid', 'author-nick', 'author-network'], $condition);
|
$thr_parent = Item::selectFirst(['uri', 'extid', 'author-link', 'author-nick', 'author-network'], $condition);
|
||||||
if (!DBA::isResult($thr_parent)) {
|
if (!DBA::isResult($thr_parent)) {
|
||||||
Logger::warning('No parent found', ['thr-parent' => $b["thr-parent"]]);
|
Logger::warning('No parent found', ['thr-parent' => $b["thr-parent"]]);
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue