30 lines
1.2 KiB
TypeScript
30 lines
1.2 KiB
TypeScript
// Module ID: 7979
|
|
// Function ID: 7980
|
|
// Name: prototype
|
|
// Dependencies: [1931, 5134, 2]
|
|
|
|
// Module 7979 (prototype)
|
|
import handleConnectionOpen from "handleConnectionOpen";
|
|
import "initialize";
|
|
|
|
let prototype = function VideoBackgroundManager() {
|
|
const applyArgumentsResult = HermesBuiltin.applyArguments(new.target, new.target);
|
|
const voiceChannelId = applyArgumentsResult;
|
|
applyArgumentsResult.previousSelectedVoiceChannelId = voiceChannelId.getVoiceChannelId();
|
|
applyArgumentsResult.cachedDominantColors = {};
|
|
applyArgumentsResult._handleSelectVoiceChannel = function _handleSelectVoiceChannel(channelId) {
|
|
channelId = channelId.channelId;
|
|
if (applyArgumentsResult.previousSelectedVoiceChannelId !== channelId) {
|
|
tmp.cachedDominantColors = {};
|
|
}
|
|
applyArgumentsResult.previousSelectedVoiceChannelId = channelId;
|
|
};
|
|
applyArgumentsResult.actions = { VOICE_CHANNEL_SELECT: applyArgumentsResult._handleSelectVoiceChannel };
|
|
return applyArgumentsResult;
|
|
}.prototype;
|
|
class prototype extends tmp2 {
|
|
}
|
|
prototype = new prototype();
|
|
const result = require("set").fileFinishedImporting("modules/calls/native/VideoBackgroundManager.tsx");
|
|
|
|
export default prototype;
|