From dd1ee18c72268839de8af64de5eb07c5a2499ff2 Mon Sep 17 00:00:00 2001 From: James Booth Date: Sat, 8 Mar 2014 21:10:23 +0000 Subject: Added test for /join with nick option --- src/command/commands.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/command') diff --git a/src/command/commands.c b/src/command/commands.c index 7738e7f2..e6d575f5 100644 --- a/src/command/commands.c +++ b/src/command/commands.c @@ -1659,9 +1659,9 @@ cmd_join(gchar **args, struct cmd_help_t help) Jid *room_jid = jid_create_from_bare_and_resource(room, nick); if (!muc_room_is_active(room_jid)) { - presence_join_room(room_jid, passwd); + presence_join_room(room, nick, passwd); } - ui_room_join(room_jid); + ui_room_join(room); muc_remove_invite(room); jid_destroy(room_arg); -- cgit 1.4.1-2-gfad0