2
0
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:
Mickael Remond 2016-02-17 11:28:51 +01:00
parent 06beebc812
commit 82c01de54b

View File

@ -3,7 +3,7 @@ package xmpp
import "encoding/xml"
// XMPP Packet Parsing
type clientPresence struct {
type ClientPresence struct {
XMLName xml.Name `xml:"jabber:client presence"`
Packet
Show string `xml:"show,attr,omitempty"` // away, chat, dnd, xa