global stream optimization

This commit is contained in:
Yuri Kuznetsov
2024-01-15 11:44:37 +02:00
parent 61a1227f87
commit 8280f31180
2 changed files with 139 additions and 31 deletions
@@ -227,7 +227,7 @@ class QueryHelper
'type' => Note::TYPE_POST,
'targetType' => Note::TARGET_ALL,
'parentId' => null,
'createdBy!=' => $user->getId(),
'createdById!=' => $user->getId(),
'isGlobal' => true,
])
->build();