diff options
author | James Booth <boothj5@gmail.com> | 2014-03-08 21:10:23 +0000 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2014-03-08 21:10:23 +0000 |
commit | dd1ee18c72268839de8af64de5eb07c5a2499ff2 (patch) | |
tree | 6fab72178d19c201d2b73b5d503291cc2e423988 /src/xmpp/bookmark.c | |
parent | e9b5d3294b3ccb8e5fb97e1a6e1d129631a72caa (diff) | |
download | profani-tty-dd1ee18c72268839de8af64de5eb07c5a2499ff2.tar.gz |
Added test for /join with nick option
Diffstat (limited to 'src/xmpp/bookmark.c')
-rw-r--r-- | src/xmpp/bookmark.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xmpp/bookmark.c b/src/xmpp/bookmark.c index 27a768be..5c27e2cf 100644 --- a/src/xmpp/bookmark.c +++ b/src/xmpp/bookmark.c @@ -301,9 +301,9 @@ _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, NULL); + presence_join_room(jid, name, NULL); /* TODO: this should be removed after fixing #195 */ - ui_room_join(room_jid); + ui_room_join(jid); } jid_destroy(room_jid); } else { |