From f3236538a014c86e32117186cdce692bb105b5d1 Mon Sep 17 00:00:00 2001 From: Richard Lewis Date: Wed, 3 Jun 2020 14:17:53 +0300 Subject: [PATCH] Fix searching channels with uppercase letters in name. --- src/plugins/messageStorage/sqlite.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/messageStorage/sqlite.js b/src/plugins/messageStorage/sqlite.js index cadd0edd..a4e75b0c 100644 --- a/src/plugins/messageStorage/sqlite.js +++ b/src/plugins/messageStorage/sqlite.js @@ -225,7 +225,7 @@ class MessageStorage { if (query.channelName) { select += " AND channel = ? "; - params.push(query.channelName); + params.push(query.channelName.toLowerCase()); } const maxResults = 100;