Merge branch 'master' into otr

This commit is contained in:
James Booth
2013-09-22 01:28:26 +01:00
5 changed files with 15 additions and 7 deletions

View File

@@ -196,6 +196,11 @@ prof_handle_error_message(const char *from, const char *err_msg)
} else {
cons_show_error("Error received from server: %s", err_msg);
}
// remove the room from muc
Jid *room_jid = jid_create(from);
muc_leave_room(room_jid->barejid);
jid_destroy(room_jid);
} else {
cons_show_error("Error received from server: %s", err_msg);
}