mirror of
https://github.com/zulip/zulip.git
synced 2025-11-15 11:22:04 +00:00
eslint: Enable prefer-arrow-callback.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
960174408f
commit
a79322bc94
@@ -53,9 +53,7 @@ exports.recent = (function () {
|
||||
conversation.max_message_id = message_id;
|
||||
}
|
||||
|
||||
recent_private_messages.sort(function (a, b) {
|
||||
return b.max_message_id - a.max_message_id;
|
||||
});
|
||||
recent_private_messages.sort((a, b) => b.max_message_id - a.max_message_id);
|
||||
};
|
||||
|
||||
self.get = function () {
|
||||
|
||||
Reference in New Issue
Block a user