This commit is contained in:
Sunglocto committed 2026-01-30 19:08:18 +00:00
1 parent 63ad9247bc
commit 69bee8766e
6 files changed
+55 -17

No files matched your search

+2 -5
View File
@@ -43,16 +43,13 @@ func switchToTab(jid string) {
u := v.(stanza.Presence)
var mu MucUser
var ocu OccupantID
u.Get(&mu)
u.Get(&ocu)
nick_label := gtk.NewLabel(Jid.MustParse(u.From).Resourcepart())
affil_label := gtk.NewLabel(mu.MucUserItem.Affiliation)
// nick_label.SetHAlign(gtk.AlignStart)
// affil_label.SetHAlign(gtk.AlignEnd)
userbox.Append(nick_label)
userbox.Append(affil_label)
gen.Append(userbox)
return true