Export presence packet
This commit is contained in:
parent
06beebc812
commit
82c01de54b
|
@ -3,7 +3,7 @@ package xmpp
|
||||||
import "encoding/xml"
|
import "encoding/xml"
|
||||||
|
|
||||||
// XMPP Packet Parsing
|
// XMPP Packet Parsing
|
||||||
type clientPresence struct {
|
type ClientPresence struct {
|
||||||
XMLName xml.Name `xml:"jabber:client presence"`
|
XMLName xml.Name `xml:"jabber:client presence"`
|
||||||
Packet
|
Packet
|
||||||
Show string `xml:"show,attr,omitempty"` // away, chat, dnd, xa
|
Show string `xml:"show,attr,omitempty"` // away, chat, dnd, xa
|
||||||
|
|
Loading…
Reference in a new issue