trying to call mod/magic on rss resources - which have no hub

This commit is contained in:
friendica
2014-09-22 23:49:12 -07:00
parent e8854bb19d
commit 72ec78d027
2 changed files with 9 additions and 5 deletions

View File

@@ -177,11 +177,11 @@ class Conversation extends BaseObject {
}
}
require_once('include/identity.php');
$sys = get_sys_channel();
// $sys = get_sys_channel();
if($sys && $item->get_data_value('uid') == $sys['channel_id']) {
$item->set_commentable(false);
}
// if($sys && $item->get_data_value('uid') == $sys['channel_id']) {
// $item->set_commentable(false);
// }
$item->set_conversation($this);
$this->threads[] = $item;