fix search crash with extra space
This commit is contained in:
parent
8334161c35
commit
aa736d5b48
|
@ -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…
Reference in New Issue