From 8141ef95118bc17eff6bb580a232c59a3bea8125 Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Fri, 9 May 2025 15:12:50 +0200 Subject: [PATCH] Add some API docs for the observer file --- include/observer.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/include/observer.php b/include/observer.php index 98c5002f7..4483e1d8b 100644 --- a/include/observer.php +++ b/include/observer.php @@ -6,6 +6,14 @@ * SPDX-FileContributor: Harald Eilertsen * * SPDX-License-Identifier: MIT + * + * The _observer_ in Hubzilla is the channel visiting the site in the current + * session. This could be a local channel, or a remote channel logged in via + * OpenWebAuth. + * + * If the observer is not set, or empty, this indicates an unauthenticated + * visitor, which may mean a visitor from another site that don't support, or + * has not enabled OpenWebAuth. */ /**