1
0
Fork 0

Sends notifications for public posts with "uid=0"

This commit is contained in:
Michael 2018-01-07 11:08:36 +00:00
commit f2efd58366
3 changed files with 25 additions and 12 deletions

View file

@ -1067,6 +1067,8 @@ function item_post(App $a) {
create_tags_from_item($post_id);
create_files_from_item($post_id);
check_user_notification($post_id);
// Insert an item entry for UID=0 for global entries.
// We now do it in the background to save some time.
// This is important in interactive environments like the frontend or the API.