diff options
author | zotlabs <mike@macgirvin.com> | 2017-09-17 18:40:32 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2017-09-17 18:40:32 -0700 |
commit | 1d9e0f17a6e945a10c05ad6543682ad1c8cd87d9 (patch) | |
tree | b658d68dbdd44f93980db8631fcad312496dab59 /include/items.php | |
parent | 9120a82ab4c4051b37794ca4d87ee3ae52084459 (diff) | |
download | volse-hubzilla-1d9e0f17a6e945a10c05ad6543682ad1c8cd87d9.tar.gz volse-hubzilla-1d9e0f17a6e945a10c05ad6543682ad1c8cd87d9.tar.bz2 volse-hubzilla-1d9e0f17a6e945a10c05ad6543682ad1c8cd87d9.zip |
more mastodon testing
Diffstat (limited to 'include/items.php')
-rwxr-xr-x | include/items.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/items.php b/include/items.php index f286015fe..daf41aa4b 100755 --- a/include/items.php +++ b/include/items.php @@ -2498,6 +2498,9 @@ function tag_deliver($uid, $item_id) { $pattern = '/@\!?\[zrl\=([^\]]*?)\]((?:.(?!\[zrl\=))*?)\+\[\/zrl\]/'; + // statusnet style group tags + $pattern2 = '/^|[^@]\!\[zrl\=([^\]]*?)\]((?:.(?!\[zrl\=))*?)\+\[\/zrl\]/'; + if(preg_match_all($pattern,$body,$matches,PREG_SET_ORDER)) { $max_forums = get_config('system','max_tagged_forums'); if(! $max_forums) |