aboutsummaryrefslogtreecommitdiff
path: root/xmpp/extensions
diff options
context:
space:
mode:
authorBohdan Horbeshko <bodqhrohro@gmail.com>2023-10-04 01:56:37 +0300
committerBohdan Horbeshko <bodqhrohro@gmail.com>2023-10-04 01:56:37 +0300
commit1e7e761c6ce7bda3850ed23d0e64d884a28f60a7 (patch)
tree4db6cc5ffc62ac91f4e662b2546a17fb62621e00 /xmpp/extensions
parentb8a57c06b646edbad340c9e1c6c79e11a8a666e3 (diff)
Reflect name change of Telegram user in all MUCs
Diffstat (limited to 'xmpp/extensions')
-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 8ff034d..45ab839 100644
--- a/xmpp/extensions/extensions.go
+++ b/xmpp/extensions/extensions.go
@@ -225,6 +225,7 @@ type PresenceXMucUserItem struct {
XMLName xml.Name `xml:"item"`
Affiliation string `xml:"affiliation,attr"`
Jid string `xml:"jid,attr"`
+ Nick string `xml:"nick,attr,omitempty"`
Role string `xml:"role,attr"`
}