API: Show activity notifications
This commit is contained in:
@@ -236,6 +236,7 @@ function display_content(App $a, $update = false, $update_uid = 0)
|
||||
}
|
||||
|
||||
if (!DI::pConfig()->get(local_user(), 'system', 'detailed_notif')) {
|
||||
DBA::update('notification', ['seen' => true], ['parent-uri-id' => $item['parent-uri-id'], 'uid' => local_user()]);
|
||||
DBA::update('notify', ['seen' => true], ['parent-uri-id' => $item['parent-uri-id'], 'uid' => local_user()]);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user