You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
337 B
14 lines
337 B
package xmpp
|
|
|
|
import "encoding/xml"
|
|
|
|
// XMPP Packet Parsing
|
|
type clientPresence struct {
|
|
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
|
|
}
|