2026-08-13 17:34:28 +00:00
|
|
|
// Module ID: 10639
|
|
|
|
|
// Function ID: 10640
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: useIsViewingActivity
|
2026-08-13 17:34:28 +00:00
|
|
|
// Dependencies: [4358, 10629, 4197, 10626, 589, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: useIsViewingActivity
|
|
|
|
|
|
2026-08-13 17:34:28 +00:00
|
|
|
// Module 10639 (useIsViewingActivity)
|
2026-07-29 08:29:29 +00:00
|
|
|
import getParticipants from "getParticipants";
|
2026-07-23 10:11:24 +00:00
|
|
|
|
|
|
|
|
const require = arg1;
|
2026-08-12 06:57:52 +00:00
|
|
|
const result = require("coerceMainRoute").fileFinishedImporting("modules/activities/native/useIsViewingActivity.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
export const useIsViewingActivity = function useIsViewingActivity(channelId) {
|
|
|
|
|
channelId = channelId.channelId;
|
2026-08-13 17:34:28 +00:00
|
|
|
let tmp = importDefault(10629)(channelId);
|
|
|
|
|
const isModalOpen = channelId(4197).useIsModalOpen(importDefault(10626));
|
2026-08-13 07:00:46 +00:00
|
|
|
const obj = channelId(4197);
|
2026-07-29 08:29:29 +00:00
|
|
|
const items = [getParticipants];
|
2026-07-20 16:05:17 +00:00
|
|
|
const items1 = [channelId];
|
2026-07-29 08:29:29 +00:00
|
|
|
const stateFromStores = channelId(589).useStateFromStores(items, () => outer1_3.getChatOpen(channelId), items1);
|
2026-07-20 16:05:17 +00:00
|
|
|
if (tmp) {
|
|
|
|
|
tmp = isModalOpen;
|
|
|
|
|
}
|
|
|
|
|
if (tmp) {
|
|
|
|
|
tmp = !stateFromStores;
|
|
|
|
|
}
|
|
|
|
|
return tmp;
|
|
|
|
|
};
|