]> git.mxchange.org Git - friendica.git/blobdiff - src/Model/Item.php
Merge pull request #5072 from Alkarex/ru-plural-intval-bug
[friendica.git] / src / Model / Item.php
index fb3e59eb259e0f267cfa1470abdfa164378e59ff..0a480d755bdf224997f23aca92a9d84025e4f920 100644 (file)
@@ -75,8 +75,9 @@ class Item extends BaseObject
                        Term::insertFromFileFieldByItemId($item['id']);
                        self::updateThread($item['id']);
 
-                       // We only need to notfiy others when it is an original entry from us
-                       if ($item['origin']) {
+                       // We only need to notfiy others when it is an original entry from us.
+                       // Only call the notifier when the item has some content relevant change.
+                       if ($item['origin'] && in_array('edited', array_keys($fields))) {
                                Worker::add(PRIORITY_HIGH, "Notifier", 'edit_post', $item['id']);
                        }
                }