Move notification to the new paradigm
This commit is contained in:
@@ -5647,7 +5647,7 @@ function api_friendica_notification_seen($type)
|
||||
}
|
||||
|
||||
if ($Notify->uriId) {
|
||||
DI::dba()->update('notification', ['seen' => true], ['uid' => $Notify->uid, 'target-uri-id' => $Notify->uriId]);
|
||||
DI::notification()->setAllSeenForUser($Notify->uid, ['target-uri-id' => $Notify->uriId]);
|
||||
}
|
||||
|
||||
$Notify->setSeen();
|
||||
|
||||
Reference in New Issue
Block a user