mirror of
https://github.com/FluuxIO/go-xmpp
synced 2024-11-15 18:13:07 +00:00
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 New Issue
Block a user