Adding password handling for joining chatrooms

This commit is contained in:
Kristofer M White
2014-02-27 05:31:10 +00:00
parent 79d55a4668
commit 8a54c5895d
6 changed files with 27 additions and 8 deletions

View File

@@ -301,7 +301,7 @@ _bookmark_handle_result(xmpp_conn_t * const conn,
log_debug("Autojoin %s with nick=%s", jid, name);
room_jid = jid_create_from_bare_and_resource(jid, name);
if (!muc_room_is_active(room_jid)) {
presence_join_room(room_jid);
presence_join_room(room_jid, NULL);
/* TODO: this should be removed after fixing #195 */
ui_room_join(room_jid);
}