aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorVishnunarayan K I <31964688+vn-ki@users.noreply.github.com>2018-07-02 12:30:42 +0530
committerTulir Asokan <tulir@maunium.net>2018-07-02 10:00:42 +0300
commit68db26bcace31297471641fe95f8882e301f5699 (patch)
tree77809244075380d292657b282b73d6cfa7a8eca0 /config
parentcf3f3e51d127f12b0d4b602cf446c1befde9cd79 (diff)
Emojify message (#65)
Diffstat (limited to 'config')
-rw-r--r--config/config.go4
1 files changed, 3 insertions, 1 deletions
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.