allow cards to federate

This commit is contained in:
zotlabs 2017-08-22 19:41:16 -07:00
parent 92077725c3
commit 182f94a9ac

View File

@ -276,7 +276,7 @@ class Notifier {
$deleted_item = true;
}
if(intval($target_item['item_type']) != ITEM_TYPE_POST) {
if(! in_array(intval($target_item['item_type']), [ ITEM_TYPE_POST, ITEM_TYPE_CARD ] )) {
logger('notifier: target item not forwardable: type ' . $target_item['item_type'], LOGGER_DEBUG);
return;
}