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:
parent
d29c7fd878
commit
e073b69a98
@ -1614,7 +1614,9 @@ _cmd_join(gchar **args, struct cmd_help_t help)
|
||||
strcpy(jid_cpy, jid);
|
||||
nick = strdup(strtok(jid_cpy, "@"));
|
||||
}
|
||||
jabber_join(room, nick);
|
||||
if (!room_is_active(room)) {
|
||||
jabber_join(room, nick);
|
||||
}
|
||||
win_join_chat(room, nick);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user