Philipp Hörist pushed to branch master at gajim / gajim


Commits:
d69ae59e by Philipp Hörist at 2024-09-20T23:27:03+02:00
fix: StartChat: Fix global search results missing the name in some cases

Fixes #11985

- - - - -


1 changed file:

- gajim/gtk/start_chat.py


Changes:

=====================================
gajim/gtk/start_chat.py
=====================================
@@ -986,7 +986,7 @@ def __init__(self, item: MuclumbusItem) -> None:
         self.groupchat = True
 
         name_label = Gtk.Label(
-            label=item.name,
+            label=item.name or self.jid.localpart or item.jid,
             halign=Gtk.Align.START,
             ellipsize=Pango.EllipsizeMode.END,
             max_width_chars=40



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/d69ae59e57eef92dcf4babd3bd97ad318d9d4404

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/d69ae59e57eef92dcf4babd3bd97ad318d9d4404
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]

Reply via email to