1
1
mirror of https://github.com/profanity-im/profanity.git synced 2025-02-02 15:08:15 -05:00

If chat room already joined, just show window

This commit is contained in:
James Booth 2013-01-11 23:52:01 +00:00
parent d29c7fd878
commit e073b69a98

View File

@ -1614,7 +1614,9 @@ _cmd_join(gchar **args, struct cmd_help_t help)
strcpy(jid_cpy, jid);
nick = strdup(strtok(jid_cpy, "@"));
}
if (!room_is_active(room)) {
jabber_join(room, nick);
}
win_join_chat(room, nick);
}