Perform notification check

This commit is contained in:
Michael 2020-08-11 08:30:15 +00:00
parent 5698edddba
commit 946063e6e7

View file

@ -2022,6 +2022,8 @@ class Item
if (!empty($forum_item['id'])) { if (!empty($forum_item['id'])) {
// This will trigger notifications like "X shared a new post" // This will trigger notifications like "X shared a new post"
UserItem::setNotification($forum_item['id']); UserItem::setNotification($forum_item['id']);
check_user_notification($forum_item['id']);
} }
LOgger::info('Convert message into a forum message', ['uri-id' => $item['uri-id'], 'parent-uri-id' => $item['parent-uri-id'], 'uid' => $item['uid'], 'owner-id' => $item['author-id'], 'contact-id' => $contact['id']]); LOgger::info('Convert message into a forum message', ['uri-id' => $item['uri-id'], 'parent-uri-id' => $item['parent-uri-id'], 'uid' => $item['uid'], 'owner-id' => $item['author-id'], 'contact-id' => $contact['id']]);
} }