forked from jshiffer/go-xmpp
Do a go fmt
This commit is contained in:
parent
6618fc47ca
commit
637503f492
13
xmpp.go
13
xmpp.go
@ -554,12 +554,11 @@ type Contact struct {
|
|||||||
|
|
||||||
// Presence is an XMPP presence notification.
|
// Presence is an XMPP presence notification.
|
||||||
type Presence struct {
|
type Presence struct {
|
||||||
From string
|
From string
|
||||||
To string
|
To string
|
||||||
Type string
|
Type string
|
||||||
Show string
|
Show string
|
||||||
Status string
|
Status string
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Recv waits to receive the next XMPP stanza.
|
// Recv waits to receive the next XMPP stanza.
|
||||||
@ -723,7 +722,7 @@ type clientPresence struct {
|
|||||||
Type string `xml:"type,attr"` // error, probe, subscribe, subscribed, unavailable, unsubscribe, unsubscribed
|
Type string `xml:"type,attr"` // error, probe, subscribe, subscribed, unavailable, unsubscribe, unsubscribed
|
||||||
Lang string `xml:"lang,attr"`
|
Lang string `xml:"lang,attr"`
|
||||||
|
|
||||||
Show string `xml:"show"` // away, chat, dnd, xa
|
Show string `xml:"show"` // away, chat, dnd, xa
|
||||||
Status string `xml:"status"` // sb []clientText
|
Status string `xml:"status"` // sb []clientText
|
||||||
Priority string `xml:"priority,attr"`
|
Priority string `xml:"priority,attr"`
|
||||||
Error *clientError
|
Error *clientError
|
||||||
|
Loading…
x
Reference in New Issue
Block a user