From 6feb864c384a46208c94824797eb2b4b92549840 Mon Sep 17 00:00:00 2001 From: Max Kostikov Date: Thu, 3 Oct 2019 18:28:29 +0200 Subject: Allow processing of forum posts through mentions in addons --- include/zot.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/zot.php') 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). -- cgit v1.2.3