aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kostikov <max@kostikov.co>2019-10-03 18:28:29 +0200
committerMax Kostikov <max@kostikov.co>2019-10-03 18:28:29 +0200
commit6feb864c384a46208c94824797eb2b4b92549840 (patch)
tree3e83ceb0cb7ac27de0e6a499b9bdd4324241c4a3
parentb6db1898b12aac45ce40b49ab36acf5e74902dc3 (diff)
downloadvolse-hubzilla-6feb864c384a46208c94824797eb2b4b92549840.tar.gz
volse-hubzilla-6feb864c384a46208c94824797eb2b4b92549840.tar.bz2
volse-hubzilla-6feb864c384a46208c94824797eb2b4b92549840.zip
Allow processing of forum posts through mentions in addons
-rw-r--r--include/zot.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/zot.php b/include/zot.php
index eab75e235..d08146287 100644
--- a/include/zot.php
+++ b/include/zot.php
@@ -2029,7 +2029,7 @@ function process_delivery($sender, $arr, $deliveries, $relay, $public = false, $
// 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).