]> git.mxchange.org Git - friendica-addons.git/commitdiff
Twitter: "remote self" posts had been posted with an invalid priority
authorMichael <heluecht@pirati.ca>
Tue, 8 Dec 2020 21:55:02 +0000 (21:55 +0000)
committerMichael <heluecht@pirati.ca>
Tue, 8 Dec 2020 21:55:02 +0000 (21:55 +0000)
twitter/twitter.php

index 5ebb831856281ef623c8f653a6a69e75a49b5c9a..278989add495519426a63846e554dcc1b78407bc 100644 (file)
@@ -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;
+                                       }
                                }
                        }