Add blocking, add note to self to tabs and add snit's default avatar img
This commit is contained in:
@@ -52,6 +52,12 @@ func showUserWindow(u stanza.Presence, custom_nick string) {
|
||||
status_message.AddCSSClass("status")
|
||||
profile_box.Append(status_message)
|
||||
}
|
||||
|
||||
if loadedConfig.BlockingOI[ocu.ID] {
|
||||
blocked_note := gtk.NewLabel("You have blocked this user!")
|
||||
blocked_note.AddCSSClass("blocked")
|
||||
profile_box.Prepend(blocked_note)
|
||||
}
|
||||
profile_box.Append(ver_text)
|
||||
fr := gtk.NewLabel(u.From)
|
||||
fr.AddCSSClass("jid")
|
||||
|
||||
Reference in New Issue
Block a user