2018-01-01 09:12:33 -08:00
|
|
|
package xmpp // import "fluux.io/xmpp"
|
2016-01-06 07:51:12 -08:00
|
|
|
|
|
|
|
import "encoding/xml"
|
|
|
|
|
|
|
|
// XMPP Packet Parsing
|
2016-02-17 02:28:51 -08:00
|
|
|
type ClientPresence struct {
|
2016-01-06 07:51:12 -08:00
|
|
|
XMLName xml.Name `xml:"jabber:client presence"`
|
|
|
|
Packet
|
|
|
|
Show string `xml:"show,attr,omitempty"` // away, chat, dnd, xa
|
|
|
|
Status string `xml:"status,attr,omitempty"`
|
|
|
|
Priority string `xml:"priority,attr,omitempty"`
|
|
|
|
//Error *clientError
|
|
|
|
}
|