Compatibility with Vala 0.50.0

Fixes #911
This commit is contained in:
Marvin W 2020-09-17 18:25:54 +02:00
parent 1956f63179
commit d32d1b91a1
No known key found for this signature in database
GPG key ID: 072E9235DB996F2A

View file

@ -31,7 +31,7 @@ public class SearchProcessor : StreamInteractionModule, Object {
foreach(string word in query.split(" ")) { foreach(string word in query.split(" ")) {
if (word.has_prefix("with:")) { if (word.has_prefix("with:")) {
if (with == null) { if (with == null) {
with = word.substring(5); @with = word.substring(5);
} else { } else {
return db.message.select().where("0"); return db.message.select().where("0");
} }