1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-11-03 19:37:16 -05:00

Added bookmark autocomplete to /join

Issue #194
This commit is contained in:
James Booth 2014-04-13 01:20:36 +01:00
parent f7daaf0953
commit 0b2f810431

View File

@ -1835,6 +1835,12 @@ _join_autocomplete(char *input, int *size)
gboolean result = FALSE;
input[*size] = '\0';
found = autocomplete_param_with_func(input, size, "/join", bookmark_find);
if (found != NULL) {
return found;
}
gchar **args = parse_args(input, 2, 4, &result);
if ((strncmp(input, "/join", 5) == 0) && (result == TRUE)) {