diff --git a/socket/jabber.go b/socket/jabber.go index ce532cf..13840dc 100644 --- a/socket/jabber.go +++ b/socket/jabber.go @@ -63,16 +63,17 @@ func JabberSocketOnMessage(socket *Socket[JabberData], message []byte) { socket.Connection.WriteMessage(websocket.CloseMessage, websocket.FormatCloseMessage(websocket.CloseNormalClosure, err.Error())) return } + return } - aid.Print("jabber message not handled", parsed.Root().Tag) + aid.Print("jabber message handled") } func jabberStreamHandler(socket *Socket[JabberData], parsed *etree.Document) error { - socket.Write([]byte(``)) - socket.Write([]byte(``)) - socket.Write([]byte(``)) + socket.Write([]byte(``)) + // socket.Write([]byte(``)) + // socket.Write([]byte(``)) return nil }