diff --git a/main.go b/main.go index a35e41a..10e2f29 100644 --- a/main.go +++ b/main.go @@ -227,6 +227,14 @@ func GetMeta(username string, metakey string) string { if err != nil { log.Printf("scsusers.GetMeta: %s - %s - %s\n", username, metakey, err.Error()) } + if v=="" { + // get default user + err:=c.db.Get(&v, q, "//default//", metakey) + if err != nil { + log.Printf("scsusers.GetMeta: %s - %s - %s\n", username, metakey, err.Error()) + } + + } return v }