aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
authorMax Kostikov <max@kostikov.co>2019-10-05 10:31:47 +0200
committerMario <mario@mariovavti.com>2019-10-05 10:31:47 +0200
commit79b0a6ba9c1a45f98a39870e424335613dc2e77f (patch)
tree9039454050aa808bcc9ba3579d0a74989ea1ee8b /Zotlabs
parent0c2438b36a536249e332d38e02a527af4344023f (diff)
downloadvolse-hubzilla-79b0a6ba9c1a45f98a39870e424335613dc2e77f.tar.gz
volse-hubzilla-79b0a6ba9c1a45f98a39870e424335613dc2e77f.tar.bz2
volse-hubzilla-79b0a6ba9c1a45f98a39870e424335613dc2e77f.zip
Allow addons to process forum posts published through mentions
Diffstat (limited to 'Zotlabs')
-rw-r--r--Zotlabs/Lib/Libzot.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Lib/Libzot.php b/Zotlabs/Lib/Libzot.php
index 0c90ff34d..100d45c05 100644
--- a/Zotlabs/Lib/Libzot.php
+++ b/Zotlabs/Lib/Libzot.php
@@ -1764,7 +1764,7 @@ class Libzot {
// if it's a sourced post, call the post_local hooks as if it were
// posted locally so that crosspost connectors will be triggered.
- if(check_item_source($arr['uid'], $arr)) {
+ if(check_item_source($arr['uid'], $arr) || ($channel['xchan_pubforum'] == 1)) {
/**
* @hooks post_local
* Called when an item has been posted on this machine via mod/item.php (also via API).