Files
discord-decomp/modules/messages/native/getEmbeddedActivityKey.tsx
T
2026-11-01 12:12:55 +02:00

13 lines
337 B
TypeScript

// Metro module 9308 (f9309).
export default function getEmbeddedActivityKey(a0) {
return `${a0.location.id}:${a0.applicationId}:${a0.launchId}`;
};
export function parseEmbeddedActivityKey(a0) {
const r6 = a0.split(":");
return r6.length < 3 ? null : {
channelId: r6[0],
applicationId: r6[1],
instanceId: r6[2]
};
}