mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-08-01 05:56:22 +00:00
Make /roster color configurable when offline
This commit is contained in:
@@ -1787,6 +1787,10 @@ _roster_autocomplete(ProfWin *window, const char *const input, gboolean previous
|
|||||||
if (result) {
|
if (result) {
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
result = autocomplete_param_with_func(input, "/roster color", prefs_autocomplete_boolean_choice, previous);
|
||||||
|
if (result) {
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
|
||||||
jabber_conn_status_t conn_status = connection_get_status();
|
jabber_conn_status_t conn_status = connection_get_status();
|
||||||
if (conn_status == JABBER_CONNECTED) {
|
if (conn_status == JABBER_CONNECTED) {
|
||||||
@@ -1823,10 +1827,6 @@ _roster_autocomplete(ProfWin *window, const char *const input, gboolean previous
|
|||||||
if (result) {
|
if (result) {
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
result = autocomplete_param_with_func(input, "/roster color", prefs_autocomplete_boolean_choice, previous);
|
|
||||||
if (result) {
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
result = autocomplete_param_with_ac(input, "/roster remove_all", roster_remove_all_ac, TRUE, previous);
|
result = autocomplete_param_with_ac(input, "/roster remove_all", roster_remove_all_ac, TRUE, previous);
|
||||||
|
|||||||
Reference in New Issue
Block a user