fix search crash with extra space

Ted Unangst 4 years ago
parent 9219d7ee15
commit e4afeb0c02

@ -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:]

@ -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

Loading…
Cancel
Save