decord/source/modules/message_request/MessageRequestStoreUtils.tsx

14 lines
510 B
TypeScript
Raw Normal View History

2026-07-23 10:11:24 +00:00
// Module ID: 15566
// Function ID: 120048
2026-07-20 16:05:17 +00:00
// Name: sortChannelIds
2026-07-23 10:11:24 +00:00
// Dependencies: [21, 2]
2026-07-20 16:05:17 +00:00
// Exports: sortChannelIds
2026-07-23 10:11:24 +00:00
// Module 15566 (sortChannelIds)
const result = require("set").fileFinishedImporting("modules/message_request/MessageRequestStoreUtils.tsx");
2026-07-20 16:05:17 +00:00
export const sortChannelIds = function sortChannelIds(found) {
2026-07-23 10:11:24 +00:00
const sorted = found.sort((lastMessageId, lastMessageId2) => outer1_0(outer1_1[0]).compare(lastMessageId.lastMessageId, lastMessageId2.lastMessageId));
2026-07-20 16:05:17 +00:00
return sorted.reverse();
};