2026-08-12 06:57:52 +00:00
|
|
|
// Module ID: 9789
|
|
|
|
|
// Function ID: 9790
|
2026-07-29 08:29:29 +00:00
|
|
|
// Name: useIsConnectedToVoiceChannel
|
2026-08-12 06:57:52 +00:00
|
|
|
// Dependencies: [1218, 4360, 589, 2]
|
2026-07-29 08:29:29 +00:00
|
|
|
// Exports: useIsConnectedToVoiceChannel, useIsConnectedToVoiceChannelForId
|
2026-07-20 16:05:17 +00:00
|
|
|
|
2026-08-12 06:57:52 +00:00
|
|
|
// Module 9789 (useIsConnectedToVoiceChannel)
|
2026-07-29 08:29:29 +00:00
|
|
|
import fetchFingerprint from "fetchFingerprint";
|
|
|
|
|
import updateVoiceState from "updateVoiceState";
|
2026-07-23 10:11:24 +00:00
|
|
|
|
|
|
|
|
const require = arg1;
|
|
|
|
|
const result = require("initialize").fileFinishedImporting("modules/voice_chat/VoiceChatHooks.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
export const useIsConnectedToVoiceChannel = function useIsConnectedToVoiceChannel(id) {
|
|
|
|
|
id = undefined;
|
2026-07-29 08:29:29 +00:00
|
|
|
if (id != null) {
|
2026-07-20 16:05:17 +00:00
|
|
|
id = id.id;
|
|
|
|
|
}
|
2026-07-29 08:29:29 +00:00
|
|
|
const items = [updateVoiceState, fetchFingerprint];
|
|
|
|
|
return id(589).useStateFromStores(items, () => outer1_3.isInChannel(id, outer1_2.getId()));
|
|
|
|
|
};
|
|
|
|
|
export const useIsConnectedToVoiceChannelForId = function useIsConnectedToVoiceChannelForId(arg0) {
|
|
|
|
|
const _require = arg0;
|
|
|
|
|
const items = [updateVoiceState, fetchFingerprint];
|
|
|
|
|
return _require(589).useStateFromStores(items, () => outer1_3.isInChannel(id, outer1_2.getId()));
|
2026-07-20 16:05:17 +00:00
|
|
|
};
|