uhh
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user