This commit is contained in:
2026-01-30 19:08:18 +00:00
parent 63ad9247bc
commit 69bee8766e
6 changed files with 55 additions and 17 deletions

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