identity in config to allow save from everywhere
This commit is contained in:
@ -11,6 +11,7 @@ type Config struct {
|
||||
SavePassword bool `json:"save_password,omitempty"`
|
||||
SavedPassword string `json:"saved_password,omitempty"`
|
||||
// Technical
|
||||
IdentityFile string `json:"identity_file,omitempty"`
|
||||
StoragePath string `json:"storage_path,omitempty"`
|
||||
MaxIdsPerUser int `json:"max_ids_per_user,omitempty"`
|
||||
MsgDbRollingPeriod int `json:"msg_db_rolling_period,omitempty"`
|
||||
@ -29,10 +30,10 @@ type Config struct {
|
||||
PrivateChatNotifiactions bool `json:"private_chat_notifiactions,omitempty"`
|
||||
GroupChatNotifiactions bool `json:"group_chat_notifiactions,omitempty"`
|
||||
ChannelNotifications bool `json:"channel_notifications,omitempty"`
|
||||
|
||||
// Inner
|
||||
memoryPassword string
|
||||
additionalPasswords []string
|
||||
identityFile string
|
||||
me *Identity
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user