Move event parsing to ui/messages and add image displaying
This commit is contained in:
@ -33,6 +33,7 @@ type Config struct {
|
||||
|
||||
Dir string `yaml:"-"`
|
||||
HistoryDir string `yaml:"history_dir"`
|
||||
MediaDir string `yaml:"media_dir"`
|
||||
Session *Session `yaml:"-"`
|
||||
}
|
||||
|
||||
@ -41,6 +42,7 @@ func NewConfig(dir string) *Config {
|
||||
return &Config{
|
||||
Dir: dir,
|
||||
HistoryDir: filepath.Join(dir, "history"),
|
||||
MediaDir: filepath.Join(dir, "media"),
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user