Philipp Hörist pushed to branch master at gajim / gajim
Commits:
8324b801 by Philipp Hörist at 2026-08-06T22:45:21+02:00
imprv: Workspace: Don't reset avatar if file cannot be found
The cache could be temporarily not available, for example it was forgotten in a
migration
- - - - -
1 changed file:
- gajim/gtk/avatar.py
Changes:
=====================================
gajim/gtk/avatar.py
=====================================
@@ -612,10 +612,6 @@ def get_workspace_texture(
texture = convert_surface_to_texture(surface)
return texture
- # avatar_sha set, but image is missing
- # (e.g. avatar cache deleted)
- app.settings.set_workspace_setting(workspace_id, "avatar_sha", "")
-
rgba = make_rgba(color or DEFAULT_WORKSPACE_COLOR)
texture = make_workspace_avatar(name, rgba_to_float(rgba), size, scale)
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/8324b801c433b1e5c6e8f50aaf17547310ec308d
--
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/8324b801c433b1e5c6e8f50aaf17547310ec308d
You're receiving this email because of your account on dev.gajim.org.
_______________________________________________
Commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]