mirror of
https://github.com/element-hq/dendrite.git
synced 2025-09-15 13:42:26 +03:00
Fix filtering issue
Signed-off-by: Till Faelligen <2353100+S7evinK@users.noreply.github.com>
This commit is contained in:
parent
ee42cb48a4
commit
7e5e7dc34b
2 changed files with 78 additions and 68 deletions
|
@ -46,7 +46,7 @@ func prepareWithFilters(
|
|||
params, offset = append(params, v), offset+1
|
||||
}
|
||||
} else {
|
||||
query += ` AND sender NOT = ""`
|
||||
query += ` AND sender != ""`
|
||||
}
|
||||
}
|
||||
if types != nil {
|
||||
|
@ -66,7 +66,7 @@ func prepareWithFilters(
|
|||
params, offset = append(params, v), offset+1
|
||||
}
|
||||
} else {
|
||||
query += ` AND type NOT = ""`
|
||||
query += ` AND type != ""`
|
||||
}
|
||||
}
|
||||
if containsURL != nil {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue