Added comments.

This commit is contained in:
Martin Dosch 2019-05-31 23:50:51 +02:00
parent 62dfe9d3ac
commit 6a852d881b

View file

@ -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 == "" {