Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
process_client: Don't update activity of unauthenticated users.
Aman Agrawal9cabd8f9cbe6
diff --git a/zerver/decorator.py b/zerver/decorator.pyindex 4c79dbb167c..ab850360d1f 100644--- a/zerver/decorator.py+++ b/zerver/decorator.py@@ -168,7 +168,7 @@ def process_client(request: HttpRequest, user_profile: UserProfile,client_name = "website"request.client = get_client(client_name)- if not skip_update_user_activity:+ if not skip_update_user_activity and user_profile.is_authenticated:update_user_activity(request, user_profile, query)class InvalidZulipServerError(JsonableError):