@ -2,6 +2,8 @@ package main
import (
"encoding/json"
"errors"
"io"
"os"
"path/filepath"
"strings"
@ -41,6 +43,9 @@ func LoadConfig() error {
cfg := &Config{}
if err := json.NewDecoder(file).Decode(cfg); err != nil {
if errors.Is(err, io.EOF) {
return nil
}
return err
The note is not visible to the blocked user.