mirror of
https://github.com/profanity-im/profanity.git
synced 2024-11-03 19:37:16 -05:00
Renamed command group presence->presences to avoid clash
This commit is contained in:
parent
ec28888915
commit
351ff752a7
@ -1141,7 +1141,7 @@ cmd_init(void)
|
||||
autocomplete_add(help_ac, "basic");
|
||||
autocomplete_add(help_ac, "chatting");
|
||||
autocomplete_add(help_ac, "groupchat");
|
||||
autocomplete_add(help_ac, "presence");
|
||||
autocomplete_add(help_ac, "presences");
|
||||
autocomplete_add(help_ac, "contacts");
|
||||
autocomplete_add(help_ac, "service");
|
||||
autocomplete_add(help_ac, "settings");
|
||||
|
@ -714,7 +714,7 @@ cmd_help(gchar **args, struct cmd_help_t help)
|
||||
"/rooms", "/tiny", "/who", "/nick", "/privileges", "/info", "/occupants" };
|
||||
_cmd_show_filtered_help("Groupchat commands", filter, ARRAY_SIZE(filter));
|
||||
|
||||
} else if (strcmp(args[0], "presence") == 0) {
|
||||
} else if (strcmp(args[0], "presences") == 0) {
|
||||
gchar *filter[] = { "/autoaway", "/away", "/chat", "/dnd",
|
||||
"/online", "/priority", "/account", "/status", "/statuses", "/who",
|
||||
"/xa" };
|
||||
|
@ -592,7 +592,7 @@ theme_attrs(theme_item_t attrs)
|
||||
case THEME_BLACK_BOLD: result = COLOR_PAIR(52); break;
|
||||
case THEME_MAGENTA: result = COLOR_PAIR(53); break;
|
||||
case THEME_MAGENTA_BOLD: result = COLOR_PAIR(53); break;
|
||||
default: break;
|
||||
default: break;
|
||||
}
|
||||
|
||||
if (g_hash_table_lookup(bold_items, GINT_TO_POINTER(attrs))) {
|
||||
|
@ -1402,7 +1402,7 @@ cons_help(void)
|
||||
cons_show("/help basic - List basic commands for getting started.");
|
||||
cons_show("/help chatting - List chat commands.");
|
||||
cons_show("/help groupchat - List groupchat commands.");
|
||||
cons_show("/help presence - List commands to change presence.");
|
||||
cons_show("/help presences - List commands to change presence.");
|
||||
cons_show("/help contacts - List commands for manipulating your roster.");
|
||||
cons_show("/help service - List service discovery commands.");
|
||||
cons_show("/help settings - List commands for changing settings.");
|
||||
|
Loading…
Reference in New Issue
Block a user