Compatibility with Vala 0.50.0

Fixes #911
This commit is contained in:
Marvin W 2020-09-17 18:25:54 +02:00 committed by fiaxh
parent d6d4e5eb0a
commit 2cda20d589

View file

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