Correct the chat search comment.

a3c57fb05f5dbe255b958a4eadfa3baf715917fb

Murad "Gness Erquint" Beybalaev <gness.na@gmail.com>

Signed
1 files changed, +1 -1Showing whitespace changes
src/endpoints/chats.js+1 -1
@@ -783,7 +783,7 @@ router.post('/search', validateAvatarUrlMiddleware, function (request, response)
783783 continue;
784784 }
785785
786786 // Search through chatstitle and messages of the chat
787787 const fragments = query.trim().toLowerCase().split(/\s+/).filter(x => x);
788788 const text = [chatFile.path.split(/[\\\/]/).pop().replace(/.jsonl$/, ''),
789789 ...messages.map(message => message?.mes)].join("\n").toLowerCase();