2018-01-01 17:12:33 +00:00
|
|
|
package xmpp // import "fluux.io/xmpp"
|
2016-01-06 15:51:12 +00:00
|
|
|
|
|
|
|
import "encoding/xml"
|
|
|
|
|
|
|
|
// XMPP Packet Parsing
|
2016-02-17 10:28:51 +00:00
|
|
|
type ClientPresence struct {
|
2016-01-06 15:51:12 +00: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
|
|
|
|
}
|