aboutsummaryrefslogtreecommitdiff
path: root/xmpp/handlers.go
diff options
context:
space:
mode:
authorBohdan Horbeshko <bodqhrohro@gmail.com>2022-02-08 23:25:58 +0300
committerBohdan Horbeshko <bodqhrohro@gmail.com>2022-02-08 23:25:58 +0300
commitec49d5d4124fec31d605d9242a3c21f183250902 (patch)
tree7a9a80f55101b40ee0f6f6923855f75d46bc9f28 /xmpp/handlers.go
parentfe7346a530c8ac985f2a4a9edeeecc134f320a2f (diff)
gofmt
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 {