diff --git a/src/api/index.ts b/src/api/index.ts index d4d7b4614..f0538f528 100644 --- a/src/api/index.ts +++ b/src/api/index.ts @@ -122,3 +122,8 @@ export const MessageUpdater = $MessageUpdater; * An API allowing you to get an user setting */ export const UserSettings = $UserSettings; + +/** + * Just used to identify if user is on Equicord as Vencord doesnt have this + */ +export const isEquicord = true; diff --git a/src/plugins/voiceMessages/index.tsx b/src/plugins/voiceMessages/index.tsx index 3f4862d8f..355223013 100644 --- a/src/plugins/voiceMessages/index.tsx +++ b/src/plugins/voiceMessages/index.tsx @@ -30,8 +30,8 @@ import { chooseFile } from "@utils/web"; import { findByPropsLazy, findLazy, findStoreLazy } from "@webpack"; import { Button, Card, Constants, FluxDispatcher, Forms, lodash, Menu, MessageActions, PermissionsBits, PermissionStore, RestAPI, SelectedChannelStore, showToast, SnowflakeUtils, Toasts, useEffect, useState } from "@webpack/common"; import { ComponentType } from "react"; -import { lastState as silentMessageEnabled } from "../silentMessageToggle"; +import { lastState as silentMessageEnabled } from "../silentMessageToggle"; import { VoiceRecorderDesktop } from "./DesktopRecorder"; import { settings } from "./settings"; import { cl } from "./utils";