Allow processing of forum posts through mentions in addons

This commit is contained in:
Max Kostikov 2019-10-03 18:25:57 +02:00
parent 58b77e3427
commit de902d179e

View File

@ -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).