changeset 60 | 6d4f43f7dc19 |
parent 59 | be6815a9653a |
child 61 | 16513974d273 |
59:be6815a9653a | 60:6d4f43f7dc19 |
---|---|
528 return nil, err |
528 return nil, err |
529 } |
529 } |
530 return stan, nil |
530 return stan, nil |
531 } |
531 } |
532 |
532 |
533 var bindExt Extension = Extension{StanzaHandlers: |
|
534 map[string] func(*xml.Name) interface{}{NsBind: newBind}, |
|
535 Start: func(cl *Client) {}} |
|
536 |
|
533 func newBind(name *xml.Name) interface{} { |
537 func newBind(name *xml.Name) interface{} { |
534 return &bindIq{} |
538 return &bindIq{} |
535 } |
539 } |