diff --git a/database.go b/database.go index 9e0b526..9c98de3 100644 --- a/database.go +++ b/database.go @@ -264,6 +264,9 @@ func gethonksbysearch(userid int64, q string, wanted int64) []*Honk { terms := strings.Split(q, " ") for _, t := range terms { + if t == "" { + continue + } negate := " " if t[0] == '-' { t = t[1:] diff --git a/docs/changelog.txt b/docs/changelog.txt index 2d04933..a2336d9 100644 --- a/docs/changelog.txt +++ b/docs/changelog.txt @@ -2,6 +2,8 @@ changelog === next ++ Fix crash in search with extra space. + + Fix pubkey issue with domain only keys. === 0.9.2 Malleable Maltote