aboutsummaryrefslogtreecommitdiffstats
path: root/include/zot.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-09-24 19:50:55 -0700
committerzotlabs <mike@macgirvin.com>2017-09-24 19:50:55 -0700
commitb1954070283ecd9aacb59ed26e684112f9903f49 (patch)
treed79456ec287e5627975fa0bba02fb41b148c5030 /include/zot.php
parent3648f9952cdbde96239d833d62b6c0356aff778d (diff)
parent1650d79862c0e89887ede279a19c8df07fe0d927 (diff)
downloadvolse-hubzilla-b1954070283ecd9aacb59ed26e684112f9903f49.tar.gz
volse-hubzilla-b1954070283ecd9aacb59ed26e684112f9903f49.tar.bz2
volse-hubzilla-b1954070283ecd9aacb59ed26e684112f9903f49.zip
Merge branch 'tagging'
Diffstat (limited to 'include/zot.php')
-rw-r--r--include/zot.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/zot.php b/include/zot.php
index f03445781..1a9692ae9 100644
--- a/include/zot.php
+++ b/include/zot.php
@@ -1432,7 +1432,7 @@ function public_recips($msg) {
if($msg['message']['tags']) {
if(is_array($msg['message']['tags']) && $msg['message']['tags']) {
foreach($msg['message']['tags'] as $tag) {
- if(($tag['type'] === 'mention') && (strpos($tag['url'],z_root()) !== false)) {
+ if(($tag['type'] === 'mention' || $tag['type'] === 'forum') && (strpos($tag['url'],z_root()) !== false)) {
$address = basename($tag['url']);
if($address) {
$z = q("select channel_hash as hash from channel where channel_address = '%s'