authenticate onepoll so we can receive private posts/comments in zotfeed; if local server bypass the network access and invoke zotfeed directly.

This commit is contained in:
zotlabs
2017-04-30 18:24:48 -07:00
committed by Mario Vavti
parent d3fcef43f8
commit 71e508c7cd
2 changed files with 22 additions and 5 deletions

View File

@@ -22,7 +22,8 @@ class Zotfeed extends \Zotlabs\Web\Controller {
$observer = \App::get_observer();
logger('observer: ' . get_observer_hash(), LOGGER_DEBUG);
$channel_address = ((argc() > 1) ? argv(1) : '');
if($channel_address) {
$r = q("select channel_id, channel_name from channel where channel_address = '%s' and channel_removed = 0 limit 1",