aboutsummaryrefslogtreecommitdiffstats
path: root/mod/cloud.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/cloud.php')
-rw-r--r--mod/cloud.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/cloud.php b/mod/cloud.php
index ad85eba34..b36e6c482 100644
--- a/mod/cloud.php
+++ b/mod/cloud.php
@@ -58,7 +58,7 @@ function cloud_init(&$a) {
$ob_hash = get_observer_hash();
if ($ob_hash) {
- if (local_user()) {
+ if (local_channel()) {
$channel = $a->get_channel();
$auth->setCurrentUser($channel['channel_address']);
$auth->channel_id = $channel['channel_id'];