Fix context view for certain mtypes

This commit is contained in:
2023-02-01 07:20:31 +00:00
parent 2153054cac
commit eb7ff88c15
2 changed files with 3 additions and 3 deletions

View File

@@ -108,7 +108,7 @@ class ElasticsearchBackend(StorageBackend):
extra_should.append({"match": {"nick": channel}})
else:
for ctype in types:
extra_should.append({"equals": {"mtype": ctype}})
extra_should.append({"match": {"mtype": ctype}})
else:
for ctype in types:
extra_should.append({"match": {"type": ctype}})