aboutsummaryrefslogtreecommitdiff
path: root/xmpp/handlers.go
diff options
context:
space:
mode:
Diffstat (limited to 'xmpp/handlers.go')
-rw-r--r--xmpp/handlers.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmpp/handlers.go b/xmpp/handlers.go
index d14fd31..bb80bb0 100644
--- a/xmpp/handlers.go
+++ b/xmpp/handlers.go
@@ -305,8 +305,8 @@ func handleGetDiscoInfo(s xmpp.Sender, iq *stanza.IQ) {
answer, err := stanza.NewIQ(stanza.Attrs{
Type: stanza.IQTypeResult,
From: iq.To,
- To: iq.From,
- Id: iq.Id,
+ To: iq.From,
+ Id: iq.Id,
Lang: "en",
})
if err != nil {