diff options
Diffstat (limited to 'xmpp')
-rw-r--r-- | xmpp/gateway/gateway.go | 2 | ||||
-rw-r--r-- | xmpp/handlers.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/xmpp/gateway/gateway.go b/xmpp/gateway/gateway.go index 367a406..d4620e6 100644 --- a/xmpp/gateway/gateway.go +++ b/xmpp/gateway/gateway.go @@ -76,7 +76,7 @@ func SetNickname(to string, from string, nickname string, component *xmpp.Compon Extensions: []stanza.MsgExtension{ stanza.PubSubEvent{ EventElement: stanza.ItemsEvent{ - Node: NSNick, + Node: NSNick, Items: []stanza.ItemEvent{ stanza.ItemEvent{ Any: &stanza.Node{ diff --git a/xmpp/handlers.go b/xmpp/handlers.go index 1d8f2bd..7c671d9 100644 --- a/xmpp/handlers.go +++ b/xmpp/handlers.go @@ -474,7 +474,7 @@ func makeVCardPayload(typ byte, id, fn, photo, nickname, given, family, tel, inf Node: NodeVCard4, List: []stanza.Item{ stanza.Item{ - Id: id, + Id: id, Any: &stanza.Node{ XMLName: xml.Name{Local: "vcard"}, Attrs: []xml.Attr{ |