Philipp Hörist pushed to branch master at gajim / gajim
Commits:
18c2de5b by Philipp Hörist at 2026-09-06T12:55:17+02:00
fix: Application: Make startup more resilient
A chat that cannot be loaded for whatever reason should not prevent the
application startup
- - - - -
1 changed file:
- gajim/gtk/chat_page.py
Changes:
=====================================
gajim/gtk/chat_page.py
=====================================
@@ -315,14 +315,17 @@ def load_workspace_chats(self, workspace_id: str) -> None:
if account not in active_accounts:
continue
- self.add_chat_for_workspace(
- workspace_id,
- account,
- open_chat["jid"],
- open_chat["type"],
- pinned=open_chat["pinned"],
- position=open_chat["position"],
- )
+ try:
+ self.add_chat_for_workspace(
+ workspace_id,
+ account,
+ open_chat["jid"],
+ open_chat["type"],
+ pinned=open_chat["pinned"],
+ position=open_chat["position"],
+ )
+ except Exception:
+ log.exception("Error while adding chat to workspace")
def is_chat_visible(self) -> bool:
return self._chat_stack.get_visible_child_name() in ("controls",
"function")
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/18c2de5bc0ae99d2b2a07f81f1f5f72fcda2d9ed
--
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/18c2de5bc0ae99d2b2a07f81f1f5f72fcda2d9ed
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]