mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-12 07:14:27 +02:00
API: Set "dismissed" instead of "seen"
This commit is contained in:
parent
c371d2ec82
commit
f7e859ec2c
10 changed files with 36 additions and 13 deletions
|
@ -35,7 +35,7 @@ class Clear extends BaseApi
|
|||
self::checkAllowedScope(self::SCOPE_WRITE);
|
||||
$uid = self::getCurrentUserID();
|
||||
|
||||
DI::notification()->setAllSeenForUser($uid);
|
||||
DI::notification()->setAllDismissedForUser($uid);
|
||||
|
||||
System::jsonExit([]);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue