fix lint in search.ts

pull/962/head
Konstantin Ullrich 5 years ago
parent 3eca4025e7
commit 048ca2d405

@ -176,7 +176,7 @@ function filterMessages(
) {
let filteredMessages = messages;
if (filters.from !== null && filters.from.length > 0) {
if (filters.from=== '@me') {
if (filters.from === '@me') {
filteredMessages = filteredMessages.filter(message => message.sent);
} else {
filteredMessages = [];

Loading…
Cancel
Save