diff options
author | zotlabs <mike@macgirvin.com> | 2017-08-22 19:41:16 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2017-08-22 19:41:16 -0700 |
commit | 182f94a9ac8cfcd414d6f5899fbeb7a8e65284da (patch) | |
tree | 35d28209515b1f54b30a1e519c08db6fa1187aa7 | |
parent | 92077725c3b04c25425526163672ca55a773ec15 (diff) | |
download | volse-hubzilla-182f94a9ac8cfcd414d6f5899fbeb7a8e65284da.tar.gz volse-hubzilla-182f94a9ac8cfcd414d6f5899fbeb7a8e65284da.tar.bz2 volse-hubzilla-182f94a9ac8cfcd414d6f5899fbeb7a8e65284da.zip |
allow cards to federate
-rw-r--r-- | Zotlabs/Daemon/Notifier.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Daemon/Notifier.php b/Zotlabs/Daemon/Notifier.php index 6763e0ef4..33dcbbf20 100644 --- a/Zotlabs/Daemon/Notifier.php +++ b/Zotlabs/Daemon/Notifier.php @@ -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; } |