From e9a83d723f81412088f8272ae1d7dfdad589f39f Mon Sep 17 00:00:00 2001 From: Martin Dosch Date: Fri, 31 May 2019 23:50:51 +0200 Subject: [PATCH] Added comments. --- processStanzas.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/processStanzas.go b/processStanzas.go index 4affea6..66fa134 100644 --- a/processStanzas.go +++ b/processStanzas.go @@ -123,7 +123,7 @@ func processStanzas(client *xmpp.Client, muc string, mucNick string, feeds []str log.Fatal("Error: Failed sending message to ", v.Remote, ": ", err) } } - + // Reply with pong to ping requests. case "ping": reply := "pong" @@ -142,6 +142,7 @@ func processStanzas(client *xmpp.Client, muc string, mucNick string, feeds []str } } + // Reply with contact address if set. case "contact": if contact == "" {