Improves comments

This commit is contained in:
Mickael Remond 2019-06-29 17:52:36 +02:00
parent 604d2c6c1e
commit 79803a8af9
No known key found for this signature in database
GPG key ID: E6F6045D79965AA3

View file

@ -48,6 +48,8 @@ func (d *Delegation) Namespace() string {
return d.XMLName.Space return d.XMLName.Space
} }
// Forwarded is used to wrapped forwarded stanzas.
// TODO: Move it in another file, as it is not limited to components.
type Forwarded struct { type Forwarded struct {
XMLName xml.Name `xml:"urn:xmpp:forward:0 forwarded"` XMLName xml.Name `xml:"urn:xmpp:forward:0 forwarded"`
Stanza Packet Stanza Packet