From d0fa80b195a43e2447e1a9e9242fab7ee9617f4b Mon Sep 17 00:00:00 2001 From: Michael Date: Sun, 18 Feb 2018 17:29:14 +0000 Subject: [PATCH] Issue 4228: Don't post an item if it belongs to a picture upload without an post --- src/Protocol/OStatus.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Protocol/OStatus.php b/src/Protocol/OStatus.php index 0f100c0dd4..a3fdacf331 100644 --- a/src/Protocol/OStatus.php +++ b/src/Protocol/OStatus.php @@ -2128,6 +2128,7 @@ class OStatus AND `item`.`created` > '%s' AND NOT `item`.`deleted` AND NOT `item`.`private` + AND `item`.`visible` AND `thread`.`network` IN ('%s', '%s') $sql_extra ORDER BY `item`.`created` DESC LIMIT %d",