diff --git a/package.json b/package.json
index e65e1b0a7..88633f65c 100644
--- a/package.json
+++ b/package.json
@@ -1,7 +1,7 @@
{
"name": "vencord",
"private": "true",
- "version": "1.10.1",
+ "version": "1.10.2",
"description": "The cutest Discord client mod",
"homepage": "https://github.com/Vendicated/Vencord#readme",
"bugs": {
diff --git a/src/plugins/clearURLs/defaultRules.ts b/src/plugins/clearURLs/defaultRules.ts
index b5aae5ff3..e4e7d380c 100644
--- a/src/plugins/clearURLs/defaultRules.ts
+++ b/src/plugins/clearURLs/defaultRules.ts
@@ -155,4 +155,5 @@ export const defaultRules = [
"igshid",
"igsh",
"share_id@reddit.com",
+ "si@soundcloud.com",
];
diff --git a/src/plugins/showHiddenThings/index.ts b/src/plugins/showHiddenThings/index.ts
index 9ffaa7e14..847dcd327 100644
--- a/src/plugins/showHiddenThings/index.ts
+++ b/src/plugins/showHiddenThings/index.ts
@@ -112,12 +112,12 @@ export default definePlugin({
},
// patch request that queries if term is allowed
{
- find: ".GUILD_DISCOVERY_VALID_TERM",
+ find: ".GUILD_DISCOVERY_VALID_TERM,query:",
predicate: () => settings.store.disableDisallowedDiscoveryFilters,
all: true,
replacement: {
- match: /\i\.\i\.get\(\{url:\i\.\i\.GUILD_DISCOVERY_VALID_TERM,query:\{term:\i\},oldFormErrors:!0\}\);/g,
- replace: "Promise.resolve({ body: { valid: true } });"
+ match: /\i\.\i\.get\(\{url:\i\.\i\.GUILD_DISCOVERY_VALID_TERM,query:\{term:\i\},oldFormErrors:!0\}\)/g,
+ replace: "Promise.resolve({ body: { valid: true } })"
}
}
],
diff --git a/src/plugins/userVoiceShow/components.tsx b/src/plugins/userVoiceShow/components.tsx
index 2b3b6d3a4..dd8f9e34e 100644
--- a/src/plugins/userVoiceShow/components.tsx
+++ b/src/plugins/userVoiceShow/components.tsx
@@ -7,15 +7,22 @@
import { classNameFactory } from "@api/Styles";
import ErrorBoundary from "@components/ErrorBoundary";
import { classes } from "@utils/misc";
-import { findComponentByCode, findProp, findStore } from "@webpack";
-import { ChannelStore, GuildStore, IconUtils, NavigationRouter, PermissionsBits, PermissionStore, React, showToast, Text, Toasts, Tooltip, useMemo, UserStore, useStateFromStores } from "@webpack/common";
+import { filters, findByCode, findComponentByCode, findProp, findStore, mapMangledModule } from "@webpack";
+import { ChannelStore, GuildStore, IconUtils, match, NavigationRouter, P, PermissionsBits, PermissionStore, React, showToast, Text, Toasts, Tooltip, useMemo, UserStore, useStateFromStores } from "@webpack/common";
import { Channel } from "discord-types/general";
const cl = classNameFactory("vc-uvs-");
const selectVoiceChannel = findProp("selectVoiceChannel", "selectChannel");
+const { useChannelName } = mapMangledModule(".Messages.GROUP_DM_ALONE", {
+ useChannelName: filters.byCode("()=>null==")
+});
+const getDMChannelIcon = findByCode(".getChannelIconURL({");
const VoiceStateStore = findStore("VoiceStateStore");
+
const UserSummaryItem = findComponentByCode("defaultRenderUser", "showDefaultAvatarsForNullUsers");
+const Avatar = findComponentByCode(".AVATAR_STATUS_TYPING_16;");
+const GroupDMAvatars = findComponentByCode(".AvatarSizeSpecs[", "getAvatarURL");
interface IconProps extends React.ComponentPropsWithoutRef<"div"> {
size?: number;
@@ -28,7 +35,7 @@ function SpeakerIcon(props: IconProps) {