From: Michael Date: Tue, 8 Dec 2020 21:55:02 +0000 (+0000) Subject: Twitter: "remote self" posts had been posted with an invalid priority X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=47844cf1b10d2197b3d326ffb7edc9cbe6ff32e8;p=friendica-addons.git Twitter: "remote self" posts had been posted with an invalid priority --- diff --git a/twitter/twitter.php b/twitter/twitter.php index 5ebb8318..278989ad 100644 --- a/twitter/twitter.php +++ b/twitter/twitter.php @@ -1940,7 +1940,9 @@ function twitter_fetchhometimeline(App $a, $uid) if (empty($postarray['thr-parent'])) { $contact = DBA::selectFirst('contact', [], ['id' => $postarray['contact-id'], 'self' => false]); if (DBA::isResult($contact)) { - $notify = Item::isRemoteSelf($contact, $postarray); + if (Item::isRemoteSelf($contact, $postarray)) { + $notify = PRIORITY_MEDIUM; + } } }