diff --git a/go-sendxmpp.go b/go-sendxmpp.go index 7c74dbf..8138b1b 100644 --- a/go-sendxmpp.go +++ b/go-sendxmpp.go @@ -302,15 +302,10 @@ func main() { for _, recipient := range recipients { // Join the MUC. - mucStatus, err := client.JoinMUCNoHistory(recipient, *flagResource) + _, err := client.JoinMUCNoHistory(recipient, *flagResource) if err != nil { log.Fatal(err) } - - // Exit if Status is > 300, see https://xmpp.org/registrar/mucstatus.html - if mucStatus > 300 { - log.Fatal("Couldn't join MUC. Status:", mucStatus) - } } // Send in endless loop (for usage with e.g. "tail -f").