diff options
author | xengineering <me@xengineering.eu> | 2023-07-05 22:01:14 +0200 |
---|---|---|
committer | xengineering <me@xengineering.eu> | 2023-07-05 22:02:02 +0200 |
commit | 57845892dbfc6db0648b18e418a6b15218d8526c (patch) | |
tree | e5b1df2ebc99b64ed3672a6dd410d6fbc281b338 /xmpp/routing.go | |
parent | 13eeca2177dc767aa7d01c9caed95ae2be736471 (diff) | |
download | limox-57845892dbfc6db0648b18e418a6b15218d8526c.tar limox-57845892dbfc6db0648b18e418a6b15218d8526c.tar.zst limox-57845892dbfc6db0648b18e418a6b15218d8526c.zip |
Migrate bind receive to new iq struct
Diffstat (limited to 'xmpp/routing.go')
-rw-r--r-- | xmpp/routing.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xmpp/routing.go b/xmpp/routing.go index 2f2347a..df45451 100644 --- a/xmpp/routing.go +++ b/xmpp/routing.go @@ -12,7 +12,7 @@ func route(s *xml.StartElement, d *xml.Decoder, c chan<- any) { case xml.Name{`urn:ietf:params:xml:ns:xmpp-sasl`, `success`}: parse(saslSuccess{}, s, d, c) case xml.Name{`jabber:client`, `iq`}: - parse(iqResponse{}, s, d, c) + parse(iq{}, s, d, c) case xml.Name{`jabber:client`, `message`}: parse(message{}, s, d, c) default: @@ -35,8 +35,8 @@ func handle(s *session, element any) { handleStreamFeatures(s, t) case saslSuccess: handleSaslSuccess(s) - case iqResponse: - handleIqResponse(s, t) + case iq: + handleIq(s, t) case message: handleMessage(s, t) default: |