aboutsummaryrefslogtreecommitdiffstats
path: root/mod/dav.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/dav.php')
-rw-r--r--mod/dav.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/dav.php b/mod/dav.php
index e3719cb93..f7f89b6da 100644
--- a/mod/dav.php
+++ b/mod/dav.php
@@ -59,7 +59,7 @@ function dav_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'];