]> git.mxchange.org Git - friendica.git/commitdiff
Check the body for notifications as well
authorMichael Vogel <icarus@dabo.de>
Fri, 29 Jan 2016 02:46:43 +0000 (03:46 +0100)
committerMichael Vogel <icarus@dabo.de>
Fri, 29 Jan 2016 02:46:43 +0000 (03:46 +0100)
include/enotify.php

index d3f1ab580b1817ec359f9540dc3a5f417fb84fa9..54b59857c2cdb5f72872c7644cb082962a51ddbe 100644 (file)
@@ -734,7 +734,7 @@ function check_item_notification($itemid, $uid, $defaulttype = "") {
        $tagged = false;
 
        foreach ($profiles AS $profile) {
-               if (strpos($item[0]["tag"], "=".$profile."]"))
+               if (strpos($item[0]["tag"], "=".$profile."]") OR strpos($item[0]["body"], "=".$profile."]"))
                        $tagged = true;
        }