Update src/Module/Api/Mastodon/Notifications.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
This commit is contained in:
parent
b51b537711
commit
f61dbf76a7
|
@ -70,7 +70,7 @@ class Notifications extends BaseApi
|
||||||
$params = ['order' => ['id' => true]];
|
$params = ['order' => ['id' => true]];
|
||||||
|
|
||||||
$condition = ['uid' => $uid, 'dismissed' => false];
|
$condition = ['uid' => $uid, 'dismissed' => false];
|
||||||
if($request['include_all']) {
|
if ($request['include_all']) {
|
||||||
$condition = ['uid' => $uid];
|
$condition = ['uid' => $uid];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user