Added /gone to allow configurable delay for </gone> state

This commit is contained in:
James Booth
2012-12-19 23:31:25 +00:00
parent a281d396d6
commit 3d6ebf48ec
5 changed files with 58 additions and 4 deletions

View File

@@ -140,6 +140,19 @@ prefs_set_outtype(gboolean value)
_save_prefs();
}
gint
prefs_get_gone(void)
{
return g_key_file_get_integer(prefs, "chatstates", "gone", NULL);
}
void
prefs_set_gone(gint value)
{
g_key_file_set_integer(prefs, "chatstates", "gone", value);
_save_prefs();
}
gboolean
prefs_get_notify_typing(void)
{