2026-07-28 08:39:19 +00:00
|
|
|
// Module ID: 9284
|
|
|
|
|
// Function ID: 72602
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: getEmbeddedActivityKey
|
2026-07-23 10:11:24 +00:00
|
|
|
// Dependencies: [2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: default, parseEmbeddedActivityKey
|
|
|
|
|
|
2026-07-28 08:39:19 +00:00
|
|
|
// Module 9284 (getEmbeddedActivityKey)
|
2026-07-23 10:11:24 +00:00
|
|
|
const result = require("set").fileFinishedImporting("modules/messages/native/getEmbeddedActivityKey.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
export default function getEmbeddedActivityKey(location) {
|
|
|
|
|
return "" + location.location.id + ":" + location.applicationId + ":" + location.launchId;
|
|
|
|
|
};
|
|
|
|
|
export const parseEmbeddedActivityKey = function parseEmbeddedActivityKey(str) {
|
|
|
|
|
const parts = str.split(":");
|
|
|
|
|
let tmp = null;
|
|
|
|
|
if (parts.length >= 3) {
|
|
|
|
|
const obj = { channelId: parts[0], applicationId: parts[1], instanceId: parts[2] };
|
|
|
|
|
tmp = obj;
|
|
|
|
|
}
|
|
|
|
|
return tmp;
|
|
|
|
|
};
|