add some icons and only store members by resource

This commit is contained in:
2026-03-12 16:09:22 +00:00
parent 7a201808e3
commit 654ab8b618
9 changed files with 52 additions and 15 deletions

View File

@@ -70,10 +70,10 @@ func switchToTab(jid string, w *gtk.Window) {
var ocu OccupantID
u.Get(&mu)
u.Get(&ocu)
id := ocu.ID
if id == "" {
id = JidMustParse(u.From).Resource
}
//id := ocu.ID
//if id == "" {
id := JidMustParse(u.From).Resource
//}
nick_label := gtk.NewLabel(JidMustParse(u.From).Resource)
nick_label.SetEllipsize(pango.EllipsizeEnd)