decord/source/modules/message_request/MessageRequestStoreUtils.tsx

14 lines
506 B
TypeScript
Raw Normal View History

2026-08-05 07:35:12 +00:00
// Module ID: 15807
// Function ID: 15808
2026-07-20 16:05:17 +00:00
// Name: sortChannelIds
2026-07-29 08:29:29 +00:00
// Dependencies: [11, 2]
2026-07-20 16:05:17 +00:00
// Exports: sortChannelIds
2026-08-05 07:35:12 +00:00
// Module 15807 (sortChannelIds)
2026-07-23 10:11:24 +00:00
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-29 08:29:29 +00:00
const sorted = found.sort((lastMessageId, lastMessageId2) => callback(table[0]).compare(lastMessageId.lastMessageId, lastMessageId2.lastMessageId));
2026-07-20 16:05:17 +00:00
return sorted.reverse();
};