1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-12-04 14:46:46 -05:00

Fix nickname change conflicts

fixes #242
This commit is contained in:
James Booth 2013-09-22 14:47:17 +01:00
parent bf4c1a810f
commit 587d0493c5

View File

@ -194,7 +194,9 @@ prof_handle_error_message(const char *from, const char *err_msg)
}
// remove the room from muc
Jid *room_jid = jid_create(from);
if (!muc_get_roster_received(room_jid->barejid)) {
muc_leave_room(room_jid->barejid);
}
jid_destroy(room_jid);
} else {