From: Hypolite Petovan Date: Mon, 28 Dec 2020 16:01:38 +0000 (-0500) Subject: [twitter] Add yet another expected field for thread parent select in twitter_post_hook() X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=6a4dd6ed4b4dcb3fee1ca193eb81ac3b5398e77a;p=friendica-addons.git [twitter] Add yet another expected field for thread parent select in twitter_post_hook() --- diff --git a/twitter/twitter.php b/twitter/twitter.php index 47328eca..68ca7faf 100644 --- a/twitter/twitter.php +++ b/twitter/twitter.php @@ -559,7 +559,7 @@ function twitter_post_hook(App $a, array &$b) } $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)) { Logger::warning('No parent found', ['thr-parent' => $b["thr-parent"]]); return;