mirror of
https://github.com/profanity-im/profanity.git
synced 2024-12-04 14:46:46 -05:00
parent
bf4c1a810f
commit
587d0493c5
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user