From 4750915b4904a875dedf15ca2aeb5db723a62c7c Mon Sep 17 00:00:00 2001 From: ycc Date: Wed, 27 Sep 2023 17:16:23 +0200 Subject: [PATCH] config update --- client/config.go | 28 ++++++++++++++++------------ 1 file changed, 16 insertions(+), 12 deletions(-) diff --git a/client/config.go b/client/config.go index 02d3a03..bd7e64a 100644 --- a/client/config.go +++ b/client/config.go @@ -19,18 +19,22 @@ type Config struct { ServerPollInterval int `json:"server_poll_interval,omitempty"` DbSize int `json:"db_size,omitempty"` // GUI - LastOpenChat string `json:"last_open_chat,omitempty"` - SoundNotification bool `json:"sound_notification,omitempty"` - DefaultNotificationSound string `json:"default_notification_sound,omitempty"` - NotificationVibe string `json:"notification_vibe,omitempty"` - DefaultNotificationVibe string `json:"default_notification_vibe,omitempty"` - NotificationLED string `json:"notification_led,omitempty"` - DefaultNotificationLEDColor string `json:"default_notification_led_color,omitempty"` - VisualNotification bool `json:"visual_notification,omitempty"` - VisualNotifiactionModes string `json:"visual_notifiaction_modes,omitempty"` - PrivateChatNotifiactions bool `json:"private_chat_notifiactions,omitempty"` - GroupChatNotifiactions bool `json:"group_chat_notifiactions,omitempty"` - ChannelNotifications bool `json:"channel_notifications,omitempty"` + LastOpenChat string `json:"last_open_chat,omitempty"` + SoundNotificationEnable bool `json:"sound_notification_enable,omitempty"` + DefaultNotificationSound string `json:"default_notification_sound,omitempty"` + NotificationVibeEnable bool `json:"notification_vibe_enable,omitempty"` + DefaultNotificationVibe string `json:"default_notification_vibe,omitempty"` + NotificationLEDEnable bool `json:"notification_led_enable,omitempty"` + DefaultNotificationLEDColor string `json:"default_notification_led_color,omitempty"` + VisualNotificationEnable bool `json:"visual_notification_enable,omitempty"` + VisualNotificationModes string `json:"visual_notifiaction_modes,omitempty"` + PrivateChatNotificationsEnable bool `json:"private_chat_notifiactions_enable,omitempty"` + GroupChatNotificationsEnable bool `json:"group_chat_notifiactions_enable,omitempty"` + ChannelNotificationsEnable bool `json:"channel_notifications_enable,omitempty"` + Language string `json:"language,omitempty"` + Theme string `json:"theme,omitempty"` + FingerprintEnable string `json:"fingerprint_enable,omitempty"` + // Debug DbSuffix string `json:"db_suffix,omitempty"`