From 387433ebb9bab442502f812e0364111f37270bcb Mon Sep 17 00:00:00 2001 From: fiaxh Date: Tue, 30 May 2017 22:31:05 +0200 Subject: Notifications + typing notifications + message marker settings per conversation --- libdino/src/settings.vala | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) (limited to 'libdino/src/settings.vala') diff --git a/libdino/src/settings.vala b/libdino/src/settings.vala index 3700583b..45d2192f 100644 --- a/libdino/src/settings.vala +++ b/libdino/src/settings.vala @@ -4,9 +4,19 @@ public class Settings { private GLib.Settings gsettings; - public bool send_read { - get { return gsettings.get_boolean("send-read"); } - set { gsettings.set_boolean("send-read", value); } + public bool send_typing { + get { return gsettings.get_boolean("send-typing"); } + set { gsettings.set_boolean("send-typing", value); } + } + + public bool send_marker { + get { return gsettings.get_boolean("send-marker"); } + set { gsettings.set_boolean("send-marker", value); } + } + + public bool notifications { + get { return gsettings.get_boolean("notifications"); } + set { gsettings.set_boolean("notifications", value); } } public bool convert_utf8_smileys { -- cgit v1.2.3-54-g00ecf