diff options
Diffstat (limited to 'xmpp/extensions/extensions.go')
-rw-r--r-- | xmpp/extensions/extensions.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/xmpp/extensions/extensions.go b/xmpp/extensions/extensions.go index 41a58fa..8ff034d 100644 --- a/xmpp/extensions/extensions.go +++ b/xmpp/extensions/extensions.go @@ -261,6 +261,11 @@ type MessageAddress struct { Jid string `xml:"jid,attr"` } +// EmptySubject is a dummy for MUCs to circumvent omitempty. Not registered as it would conflict with Subject field +type EmptySubject struct { + XMLName xml.Name `xml:"subject"` +} + // Namespace is a namespace! func (c PresenceNickExtension) Namespace() string { return c.XMLName.Space |