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" 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