Fix searching channels with uppercase letters in name.

This commit is contained in:
Richard Lewis 2020-06-03 14:17:53 +03:00
parent b4d02c3c56
commit f3236538a0

View File

@ -225,7 +225,7 @@ class MessageStorage {
if (query.channelName) {
select += " AND channel = ? ";
params.push(query.channelName);
params.push(query.channelName.toLowerCase());
}
const maxResults = 100;