aboutsummaryrefslogtreecommitdiff
path: root/xmpp/extensions/extensions.go
diff options
context:
space:
mode:
authorBohdan Horbeshko <bodqhrohro@gmail.com>2023-09-18 08:17:25 +0300
committerBohdan Horbeshko <bodqhrohro@gmail.com>2023-09-18 08:17:25 +0300
commit93abbe834ee10bf243af9538202bd435e9be1cb6 (patch)
treeb00632d4435d3e3888a8ff08ebad57aeeaa0dcd3 /xmpp/extensions/extensions.go
parent6c65ef9988dc786a6b634e05f4e40aacdf9191cb (diff)
Send real JID for room occupants
Diffstat (limited to 'xmpp/extensions/extensions.go')
-rw-r--r--xmpp/extensions/extensions.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/xmpp/extensions/extensions.go b/xmpp/extensions/extensions.go
index 1c32fcd..3a2f998 100644
--- a/xmpp/extensions/extensions.go
+++ b/xmpp/extensions/extensions.go
@@ -224,6 +224,7 @@ type PresenceXMucUserExtension struct {
type PresenceXMucUserItem struct {
XMLName xml.Name `xml:"item"`
Affiliation string `xml:"affiliation,attr"`
+ Jid string `xml:"jid,attr"`
Role string `xml:"role,attr"`
}