This commit is contained in:
2026-01-30 13:29:53 +00:00
parent 92b01844c4
commit 0c08ec867f
5 changed files with 74 additions and 3 deletions

View File

@@ -19,7 +19,6 @@ import (
_ "embed"
"encoding/xml"
"github.com/kr/pretty"
)
var loadedConfig lambdaConfig
@@ -132,6 +131,7 @@ func main() {
s.Send(iqResp)
})
router.HandleFunc("message", func(s xmpp.Sender, p stanza.Packet) {
m, ok := p.(stanza.Message)
if !ok {
@@ -167,7 +167,6 @@ func main() {
router.HandleFunc("presence", func(s xmpp.Sender, p stanza.Packet) {
presence, ok := p.(stanza.Presence)
pretty.Println(presence)
if !ok {
return
}