about summary refs log tree commit diff stats
path: root/src/xmpp/bookmark.c
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2014-04-21 00:37:04 +0100
committerJames Booth <boothj5@gmail.com>2014-04-21 00:37:04 +0100
commit2c15aba92a8288e41bea6e12933a14ffe390e1f4 (patch)
tree6e0efc0358f712a2e991259a0fbf2bf0c941cb61 /src/xmpp/bookmark.c
parent9a55d8ad193e79c38d59c9448330132f1c874bca (diff)
downloadprofani-tty-2c15aba92a8288e41bea6e12933a14ffe390e1f4.tar.gz
Chat room windows now created only after successful join
Diffstat (limited to 'src/xmpp/bookmark.c')
-rw-r--r--src/xmpp/bookmark.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xmpp/bookmark.c b/src/xmpp/bookmark.c
index 2e4f70db..c73f3db3 100644
--- a/src/xmpp/bookmark.c
+++ b/src/xmpp/bookmark.c
@@ -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 {