mirror of
https://github.com/zulip/zulip.git
synced 2025-10-30 03:23:50 +00:00
eslint: Enable arrow-body-style.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
aa838ec4bc
commit
615b7fcc2c
@@ -49,11 +49,9 @@ exports.get_messages_in_topic = function (stream_id, topic) {
|
||||
// all the messages. Please only use it in case of
|
||||
// very rare events like topic edits. Its primary
|
||||
// use case is the new experimental Recent Topics UI.
|
||||
return message_list.all.all_messages().filter((x) => {
|
||||
return x.type === 'stream' &&
|
||||
return message_list.all.all_messages().filter((x) => x.type === 'stream' &&
|
||||
x.stream_id === stream_id &&
|
||||
x.topic.toLowerCase() === topic.toLowerCase();
|
||||
});
|
||||
x.topic.toLowerCase() === topic.toLowerCase());
|
||||
};
|
||||
|
||||
window.message_util = exports;
|
||||
|
||||
Reference in New Issue
Block a user