aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2019-10-05 10:31:47 +0200
committerMario <mario@mariovavti.com>2019-10-05 10:31:47 +0200
commitafee2cf71ac36b7ed0ee390c4c595c15af96f5f6 (patch)
tree9039454050aa808bcc9ba3579d0a74989ea1ee8b /Zotlabs/Lib
parent0c2438b36a536249e332d38e02a527af4344023f (diff)
parent79b0a6ba9c1a45f98a39870e424335613dc2e77f (diff)
downloadvolse-hubzilla-afee2cf71ac36b7ed0ee390c4c595c15af96f5f6.tar.gz
volse-hubzilla-afee2cf71ac36b7ed0ee390c4c595c15af96f5f6.tar.bz2
volse-hubzilla-afee2cf71ac36b7ed0ee390c4c595c15af96f5f6.zip
Merge branch 'dev' into 'dev'
Allow addons to process forum posts published through mentions See merge request hubzilla/core!1745
Diffstat (limited to 'Zotlabs/Lib')
-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).