mirror of
https://github.com/profanity-im/profanity.git
synced 2025-01-03 14:57:42 -05:00
parent
d70245c887
commit
ab5eadc559
@ -198,7 +198,9 @@ prof_handle_error_message(const char *from, const char *err_msg)
|
||||
}
|
||||
// remove the room from muc
|
||||
Jid *room_jid = jid_create(from);
|
||||
muc_leave_room(room_jid->barejid);
|
||||
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