mirror of
https://github.com/FluuxIO/go-xmpp.git
synced 2026-05-17 18:03:10 -07:00
Work-in-progress on dynamic IQ parsing
This commit is contained in:
@@ -172,7 +172,7 @@ func bind(t *testing.T, c net.Conn, decoder *xml.Decoder) {
|
||||
|
||||
// TODO Check all elements
|
||||
switch iq.Payload[0].(type) {
|
||||
case *bindBind:
|
||||
case *BindBind:
|
||||
result := `<iq id='%s' type='result'>
|
||||
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
|
||||
<jid>%s</jid>
|
||||
|
||||
Reference in New Issue
Block a user