Removed wrong tables

2022.09-rc
Michael 2021-01-19 08:08:49 +00:00
rodzic b892db0cf3
commit 2b0b88aa42
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -1733,11 +1733,11 @@ function api_statuses_public_timeline($type)
$start = max(0, ($page - 1) * $count);
if ($exclude_replies && !$conversation_id) {
$condition = ["`gravity` IN (?, ?) AND `iid` > ? AND `private` = ? AND `wall` AND NOT `author`.`hidden`",
$condition = ["`gravity` IN (?, ?) AND `iid` > ? AND `private` = ? AND `wall` AND NOT `author-hidden`",
GRAVITY_PARENT, GRAVITY_COMMENT, $since_id, Item::PUBLIC];
if ($max_id > 0) {
$condition[0] .= " AND `thread`.`iid` <= ?";
$condition[0] .= " AND `iid` <= ?";
$condition[] = $max_id;
}