From 68db26bcace31297471641fe95f8882e301f5699 Mon Sep 17 00:00:00 2001 From: Vishnunarayan K I <31964688+vn-ki@users.noreply.github.com> Date: Mon, 2 Jul 2018 12:30:42 +0530 Subject: Emojify message (#65) --- config/config.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'config') diff --git a/config/config.go b/config/config.go index 8431c9b..e4fb743 100644 --- a/config/config.go +++ b/config/config.go @@ -22,12 +22,13 @@ import ( "path/filepath" "encoding/json" + "strings" + "gopkg.in/yaml.v2" "maunium.net/go/gomatrix" "maunium.net/go/gomuks/debug" "maunium.net/go/gomuks/matrix/pushrules" "maunium.net/go/gomuks/matrix/rooms" - "strings" ) type AuthCache struct { @@ -42,6 +43,7 @@ type UserPreferences struct { BareMessageView bool `yaml:"bare_message_view"` DisableImages bool `yaml:"disable_images"` DisableTypingNotifs bool `yaml:"disable_typing_notifs"` + DisableEmojis bool `yaml:"disable_emojis"` } // Config contains the main config of gomuks. -- cgit v1.2.3