diff options
-rw-r--r-- | xmpp/presence.go | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/xmpp/presence.go b/xmpp/presence.go index e2b1841..00eaa47 100644 --- a/xmpp/presence.go +++ b/xmpp/presence.go @@ -5,15 +5,13 @@ import ( "log" ) -type presence struct{} - func (s *session) sendPresence() { start := xml.StartElement{ xml.Name{"", "presence"}, []xml.Attr{}, } - err := s.tx.EncodeElement(presence{}, start) + err := s.tx.EncodeElement(struct{}{}, start) if err != nil { log.Println("Could not encode presence!") return |