Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4759.js (118.4 MB)
25 lines
986 B
TypeScript
25 lines
986 B
TypeScript
// Module ID: 11614
|
|
// Function ID: 11615
|
|
// Name: handleMessagesLongPressChannel
|
|
// Dependencies: [4719, 11615, 2]
|
|
// Exports: handleMessagesLongPressChannel
|
|
|
|
// Module 11614 (handleMessagesLongPressChannel)
|
|
import ChannelUtils from "ChannelUtils" /* 4719 */;
|
|
import showLongPressURLActionSheetDefault from "showLongPressURLActionSheet" /* 11615 */;
|
|
import size from "module_2" /* 2 */;
|
|
|
|
const result = size.fileFinishedImporting("modules/messages/native/handlers/handleMessagesLongPressChannel.tsx");
|
|
|
|
export const handleMessagesLongPressChannel = function handleMessagesLongPressChannel(data) {
|
|
({ guildId, channelId, messageId, originalLink } = data.data);
|
|
if (null != channelId) {
|
|
if (originalLink == null) {
|
|
originalLink = ChannelUtils.getChannelPermalink(guildId, channelId, messageId);
|
|
}
|
|
if (null != originalLink) {
|
|
const obj2 = { urlString: originalLink, guildId, channelId, messageId };
|
|
showLongPressURLActionSheetDefault(obj2);
|
|
}
|
|
}
|
|
};
|