aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kostikov <max@kostikov.co>2019-10-03 18:25:57 +0200
committerMax Kostikov <max@kostikov.co>2019-10-03 18:25:57 +0200
commitde902d179e1c032f8d3cbe801d38072efcd36ef1 (patch)
tree33dbe756631a3a554611b421f458e2330eb98752
parent58b77e3427ef5130ca07ebaf73d86cbaff4863cd (diff)
downloadvolse-hubzilla-de902d179e1c032f8d3cbe801d38072efcd36ef1.tar.gz
volse-hubzilla-de902d179e1c032f8d3cbe801d38072efcd36ef1.tar.bz2
volse-hubzilla-de902d179e1c032f8d3cbe801d38072efcd36ef1.zip
Allow processing of forum posts through mentions in addons
-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).