Don't exit if a component returns an IQ error.

v0.3
Martin Dosch 2 years ago
parent 908bc1b753
commit 861c3092fc

@ -172,7 +172,7 @@ func httpUpload(client *xmpp.Client, jserver string, filePath string) string {
iqDiscoInfo := <-c
close(c)
if iqDiscoInfo.Type != "result" {
log.Fatal("Error while disco#info query.")
continue
}
err = xml.Unmarshal(iqDiscoInfo.Query, &iqDiscoInfoXML)
if err != nil {

Loading…
Cancel
Save