Fixes for the notifications

This commit is contained in:
Michael 2022-03-19 09:27:49 +00:00
parent 61e023d448
commit 1fe756b5b6
5 changed files with 34 additions and 23 deletions

View file

@ -125,7 +125,7 @@ class Notification extends BaseRepository
$condition = DBA::mergeConditions($condition, ['`vid` != ?', Verb::getID(\Friendica\Protocol\Activity::ANNOUNCE)]);
}
return $this->selectForUser(local_user(), $condition, ['limit' => 50, 'order' => ['id' => true]]);
return $this->selectForUser($uid, $condition, ['limit' => 50, 'order' => ['id' => true]]);
}
/**