mirror of
https://github.com/FluuxIO/go-xmpp.git
synced 2024-11-24 03:22:01 -08:00
24 lines
361 B
Go
24 lines
361 B
Go
|
package xmpp
|
||
|
|
||
|
import "encoding/xml"
|
||
|
|
||
|
/*
|
||
|
Support for:
|
||
|
- XEP-0184 - Message Delivery Receipts: https://xmpp.org/extensions/xep-0184.html
|
||
|
*/
|
||
|
|
||
|
const (
|
||
|
NSReceipts = "urn:xmpp:receipts"
|
||
|
)
|
||
|
|
||
|
// XEP-0184 message receipt markers
|
||
|
type Receipt struct {
|
||
|
MsgExtension
|
||
|
XMLName xml.Name
|
||
|
Id string
|
||
|
}
|
||
|
|
||
|
func init() {
|
||
|
typeRegistry.RegisterMsgExt(NSReceipts, Receipt{})
|
||
|
}
|