remove some occurences of mellium jid lib and try to add experimental affiliation displays

This commit is contained in:
2026-02-01 13:49:30 +00:00
parent e87369912d
commit 1dcd55d5ff
5 changed files with 89 additions and 28 deletions

View File

@@ -43,6 +43,15 @@ func generateMessageWidget(p stanza.Packet) gtk.Widgetter {
if !ok {
return gtk.NewLabel("Unsupported message.")
}
fmt.Println(m.Body)
readmarker := Marker{}
ok = m.Get(&readmarker)
if ok {
return nil
}
sid := StanzaID{}
m.Get(&sid)
@@ -136,7 +145,6 @@ func generateMessageWidget(p stanza.Packet) gtk.Widgetter {
authorBox.Append(al)
mlabel := gtk.NewLabel(m.Body)
// mlabel.SetMarkup(convertXEPToPango(m.Body))
mlabel.SetWrap(true)
mlabel.SetSelectable(true)
mlabel.SetHAlign(gtk.AlignFill)