xmpp.go
changeset 41 c8c9e6a7e6c9
parent 38 2839fece923e
child 42 f6bb47ca12f2
equal deleted inserted replaced
40:33e7f25f1fd2 41:c8c9e6a7e6c9
   123 
   123 
   124 	if extStanza == nil {
   124 	if extStanza == nil {
   125 		extStanza = make(map[string] func(*xml.Name) interface{})
   125 		extStanza = make(map[string] func(*xml.Name) interface{})
   126 	}
   126 	}
   127 	extStanza[NsRoster] = newRosterQuery
   127 	extStanza[NsRoster] = newRosterQuery
       
   128 	extStanza[NsBind] = newBind
   128 
   129 
   129 	// Start the unique id generator.
   130 	// Start the unique id generator.
   130 	go makeIds(idCh)
   131 	go makeIds(idCh)
   131 
   132 
   132 	// Start the transport handler, initially unencrypted.
   133 	// Start the transport handler, initially unencrypted.