From c35321f9a46cb1941199b97ea5ca8d613bc51569 Mon Sep 17 00:00:00 2001 From: Classic298 <27028174+Classic298@users.noreply.github.com> Date: Mon, 23 Nov 2026 17:14:12 +0100 Subject: [PATCH] fix: every page reload fires a user updated event even when nothing changed (#34838) Every page load sends the browser's timezone, and the server saved it and fired a user updated event each time, even when it was the timezone already stored. Webhooks and Event functions listening for that event got one per reload for every user. Now the timezone is only saved, and the event only fired, when it actually changes. Fixes #34837 --- backend/open_webui/routers/auths.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/backend/open_webui/routers/auths.py b/backend/open_webui/routers/auths.py index a25e3c87c8..e23daeaf82 100644 --- a/backend/open_webui/routers/auths.py +++ b/backend/open_webui/routers/auths.py @@ -296,6 +296,8 @@ async def update_timezone( db: AsyncSession = Depends(get_async_session), ): if session_user: + if form_data.timezone == session_user.timezone: + return {'status': True} await Users.update_user_by_id( session_user.id, {'timezone': form_data.timezone},