1
0
Fork 0

Update src/Content/Conversation.php

Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
This commit is contained in:
Michael Vogel 2022-05-05 22:40:20 +02:00 committed by GitHub
parent 2433fee461
commit 1e7a55180a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -963,8 +963,7 @@ class Conversation
$condition = DBA::mergeConditions($condition, $condition = DBA::mergeConditions($condition,
["`uid` IN (0, ?) AND (`vid` != ? OR `vid` IS NULL)", $uid, Verb::getID(Activity::FOLLOW)]); ["`uid` IN (0, ?) AND (`vid` != ? OR `vid` IS NULL)", $uid, Verb::getID(Activity::FOLLOW)]);
$params = ['order' => ['uri-id' => false, 'uid' => true]]; $thread_parents = Post::select(['uri-id', 'causer-id'], $condition, ['order' => ['uri-id' => false, 'uid' => true]]);
$thread_parents = Post::select(['uri-id', 'causer-id'], $condition, $params);
$thr_parent = []; $thr_parent = [];