Fix leaving MUCs before closing the connection.

raw
Martin Dosch 3 years ago
parent 4d633ef677
commit afcbe65bc1

@ -415,7 +415,7 @@ func main() {
}
// After sending the message, leave the MUCs
for _, recipient := range recipients {
_, err = client.LeaveMUC(recipients[0])
_, err = client.LeaveMUC(recipient)
if err != nil {
log.Println(err)
}

Loading…
Cancel
Save