ban, kick and change role&affil menu, status icons in muc, blocking avatars that are invalid so we dont fetch them over and over again

This commit is contained in:
2026-03-15 09:55:26 +00:00
parent a7e90e4ae5
commit 71e6a58fbd
13 changed files with 256 additions and 22 deletions

View File

@@ -10,13 +10,12 @@ import (
type Mention struct {
stanza.MsgExtension
XMLName xml.Name `xml:"urn:xmpp:mentions:0 mention"`
Mentions string `xml:"mentions,attr,omitempty"`
URI string `xml:"uri,attr,omitempty"`
Begin int `xml:"begin,attr,omitempty"`
End int `xml:"end,attr,omitempty"`
OccupantID string `xml:"occupantid,attr,omitempty"`
JID string `xml:"ji,attr,omitempty"`
XMLName xml.Name `xml:"urn:xmpp:mentions:0 mention"`
URI string `xml:"uri,attr,omitempty"`
Begin int `xml:"begin,attr,omitempty"`
End int `xml:"end,attr,omitempty"`
Type string `xml:"type,attr"`
Target string `xml:"target,attr,omitempty"`
}
func init() {