21 lines
722 B
TypeScript
21 lines
722 B
TypeScript
// Metro module 15993 (f15994).
|
|
import ReadStateStore from "../../../../stores/ReadStateStore";
|
|
import { AnalyticEvents } from "../../../../Constants";
|
|
import AnalyticsUtils from "../../../../utils/AnalyticsUtils";
|
|
const r17 = {
|
|
STORE: "store",
|
|
GESTURE: "gesture",
|
|
PREJOIN_BUTTON: "prejoin button",
|
|
CONNECTED_BUTTON: "connected button",
|
|
VOICE_CONTROLS: "voice controls",
|
|
HEADER_BUTTON: "header button"
|
|
};
|
|
export default function trackVoicePanelTabOpened(a0, a1, a2) {
|
|
AnalyticsUtils.track(AnalyticEvents.VOICE_PANEL_TAB_OPENED, {
|
|
tab: a1,
|
|
source: a2,
|
|
is_chat_badged: ReadStateStore.hasUnread(a0) || ReadStateStore.getMentionCount(a0) > 0
|
|
});
|
|
};
|
|
export { r17 as VoicePanelTabAnalyticsSources };
|