]> git.mxchange.org Git - friendica.git/commitdiff
Perform notification check
authorMichael <heluecht@pirati.ca>
Tue, 11 Aug 2020 08:30:15 +0000 (08:30 +0000)
committerMichael <heluecht@pirati.ca>
Tue, 11 Aug 2020 08:30:15 +0000 (08:30 +0000)
src/Model/Item.php

index 0e0df6b434e1162ade50e82a707194af8bd3d590..4526be3e9226d0fe5c09f3b168a794ff1e1fc98b 100644 (file)
@@ -2022,6 +2022,8 @@ class Item
                        if (!empty($forum_item['id'])) {
                                // This will trigger notifications like "X shared a new post"
                                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']]);
                }