introduce priority support
add new command /priority <int> improve jabber_update_presence() use jabber_update_presence() for sending initial presence save priority and status string to jabber_conn structure
This commit is contained in:
@@ -327,6 +327,19 @@ prefs_set_max_log_size(gint value)
|
||||
_save_prefs();
|
||||
}
|
||||
|
||||
gint
|
||||
prefs_get_priority(void)
|
||||
{
|
||||
return g_key_file_get_integer(prefs, "jabber", "priority", NULL);
|
||||
}
|
||||
|
||||
void
|
||||
prefs_set_priority(gint value)
|
||||
{
|
||||
g_key_file_set_integer(prefs, "jabber", "priority", value);
|
||||
_save_prefs();
|
||||
}
|
||||
|
||||
gboolean
|
||||
prefs_get_vercheck(void)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user