mirror of
https://github.com/FluuxIO/go-xmpp.git
synced 2025-10-25 05:55:33 -07:00
- Changed IQ stanzas to pointer semantics
- Fixed commands from v 0.4.0 and tests - Added primitive Result Sets support (XEP-0059)
This commit is contained in:
@@ -38,7 +38,11 @@ func sendxmpp(cmd *cobra.Command, args []string) {
|
||||
},
|
||||
Jid: viper.GetString("jid"),
|
||||
Credential: xmpp.Password(viper.GetString("password")),
|
||||
}, xmpp.NewRouter())
|
||||
},
|
||||
xmpp.NewRouter(),
|
||||
func(err error) {
|
||||
log.Println(err)
|
||||
})
|
||||
|
||||
if err != nil {
|
||||
log.Errorf("error when starting xmpp client: %s", err)
|
||||
|
||||
Reference in New Issue
Block a user