equal
deleted
inserted
replaced
267 return "unreadable error" |
267 return "unreadable error" |
268 } |
268 } |
269 return string(buf) |
269 return string(buf) |
270 } |
270 } |
271 |
271 |
272 var bindExt Extension = Extension{StanzaHandlers: map[string]func(*xml.Name) interface{}{NsBind: newBind}, |
272 var bindExt Extension = Extension{StanzaHandlers: map[string]func(*xml.Name) interface{}{NsBind: newBind}} |
273 Start: func(cl *Client) {}} |
|
274 |
273 |
275 func newBind(name *xml.Name) interface{} { |
274 func newBind(name *xml.Name) interface{} { |
276 return &bindIq{} |
275 return &bindIq{} |
277 } |
276 } |