Chat room windows now created only after successful join
This commit is contained in:
@@ -260,7 +260,7 @@ _bookmark_handle_result(xmpp_conn_t * const conn,
|
||||
room_jid = jid_create_from_bare_and_resource(jid, name);
|
||||
if (!muc_room_is_active(room_jid->barejid)) {
|
||||
presence_join_room(jid, name, NULL);
|
||||
handle_bookmark_autojoin(jid);
|
||||
muc_join_room(jid, name, NULL, TRUE);
|
||||
}
|
||||
jid_destroy(room_jid);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user