diff options
author | zotlabs <mike@macgirvin.com> | 2018-11-21 20:03:58 -0800 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2018-11-21 20:03:58 -0800 |
commit | ea235c0c6751b682332b968b4c18f905e8ece451 (patch) | |
tree | 02b9514123fc4d9007ed7a1661911feac23bafa4 /include | |
parent | 6481c9dca18d5b0e09e495b30edff987ac2da0b5 (diff) | |
download | volse-hubzilla-ea235c0c6751b682332b968b4c18f905e8ece451.tar.gz volse-hubzilla-ea235c0c6751b682332b968b4c18f905e8ece451.tar.bz2 volse-hubzilla-ea235c0c6751b682332b968b4c18f905e8ece451.zip |
no mention notifications from mastodon (and pleroma)
Diffstat (limited to 'include')
-rwxr-xr-x | include/items.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/items.php b/include/items.php index 2baad3d04..19df3bb80 100755 --- a/include/items.php +++ b/include/items.php @@ -2664,7 +2664,7 @@ function tag_deliver($uid, $item_id) { if(preg_match_all($pluspattern,$body,$matches,PREG_SET_ORDER)) { foreach($matches as $match) { $matched_forums ++; - if($term['url'] === $match[1] && $term['term'] === $match[2] && intval($term['ttype']) === TERM_MENTION) { + if($term['url'] === $match[1] && intval($term['ttype']) === TERM_MENTION) { if($matched_forums <= $max_forums) { $plustagged = true; $found = true; @@ -2678,7 +2678,7 @@ function tag_deliver($uid, $item_id) { if(preg_match_all($forumpattern,$body,$matches,PREG_SET_ORDER)) { foreach($matches as $match) { $matched_forums ++; - if($term['url'] === $match[1] && $term['term'] === $match[2] && intval($term['ttype']) === TERM_FORUM) { + if($term['url'] === $match[1] && intval($term['ttype']) === TERM_FORUM) { if($matched_forums <= $max_forums) { $plustagged = true; $found = true; @@ -2914,7 +2914,7 @@ function tgroup_check($uid, $item) { if(preg_match_all($pluspattern,$body,$matches,PREG_SET_ORDER)) { foreach($matches as $match) { $matched_forums ++; - if($term['url'] === $match[1] && $term['term'] === $match[2] && intval($term['ttype']) === TERM_MENTION) { + if($term['url'] === $match[1] && intval($term['ttype']) === TERM_MENTION) { if($matched_forums <= $max_forums) { $found = true; break; @@ -2927,7 +2927,7 @@ function tgroup_check($uid, $item) { if(preg_match_all($forumpattern,$body,$matches,PREG_SET_ORDER)) { foreach($matches as $match) { $matched_forums ++; - if($term['url'] === $match[1] && $term['term'] === $match[2] && intval($term['ttype']) === TERM_FORUM) { + if($term['url'] === $match[1] && intval($term['ttype']) === TERM_FORUM) { if($matched_forums <= $max_forums) { $found = true; break; |