Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'gajim/gtk/start_chat.py')
-rw-r--r--gajim/gtk/start_chat.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/gajim/gtk/start_chat.py b/gajim/gtk/start_chat.py
index 37dc8e4db..abdbc3a0f 100644
--- a/gajim/gtk/start_chat.py
+++ b/gajim/gtk/start_chat.py
@@ -59,6 +59,7 @@ from gajim.gtk.tooltips import ContactTooltip
from gajim.gtk.util import AccountBadge
from gajim.gtk.util import GajimPopover
from gajim.gtk.util import get_icon_name
+from gajim.gtk.util import GroupBadge
from gajim.gtk.util import IdleBadge
ContactT = BareContact | GroupchatContact
@@ -819,6 +820,12 @@ class ContactRow(Gtk.ListBoxRow):
idle_badge = IdleBadge(idle)
name_box.add(idle_badge)
+ if contact and not contact.is_groupchat and not contact.is_pm_contact:
+ groups = contact.groups
+ for group in groups:
+ account_badge = GroupBadge(group)
+ name_box.add(account_badge)
+
box.add(name_box)
if contact and not contact.is_groupchat and (status := contact.status):