Fix the rest of our stuff

This commit is contained in:
thororen1234 2026-02-04 17:14:31 -05:00
parent 632e26c141
commit e468d1242c
No known key found for this signature in database
6 changed files with 8 additions and 8 deletions

View file

@ -20,7 +20,7 @@ function formatMessageDate(timestamp: string | Date): string {
return `${month}/${day}/${year}`;
}
const GroupDmsRecipientsIcon = findComponentByCodeLazy("\"recipients\",\"size\",");
const GroupDmsRecipientsIcon = findComponentByCodeLazy('["aria-hidden"],"aria-label":');
const SelectedChannelActionCreators = findByPropsLazy("selectPrivateChannel");
function GroupDmsIcon({ channel }: { channel: Channel; }) {

View file

@ -11,7 +11,7 @@ import { findByCodeLazy, findByPropsLazy } from "@webpack";
import { ChannelStore, GuildStore, RelationshipStore, UserStore } from "@webpack/common";
const { getName } = findByPropsLazy("getName", "useName", "getNickname");
const computeChannelName = findByCodeLazy(".isThread())return'\"'.concat(");
const computeChannelName = findByCodeLazy(".isThread())return`\"");
const ChannelTypes = findByPropsLazy("DM", "GUILD_TEXT", "PUBLIC_THREAD", "UNKNOWN");
const ChannelTypesSets = findByPropsLazy("THREADS", "GUILD_TEXTUAL", "ALL_DMS");

View file

@ -11,7 +11,7 @@ import { Canvas } from "./components/Canvas";
import { Toolbar } from "./components/Toolbar";
import { imageToBlob, urlToImage } from "./utils/canvas";
const FileUpload = findComponentByCodeLazy(".currentTarget.files)", "lineClamp:1");
const FileUpload = findComponentByCodeLazy(".currentTarget.files", "lineClamp:1");
export const Editor = (props: { url?: string; }) => {
const [file, setFile] = useState<File | undefined>(undefined);

View file

@ -69,9 +69,9 @@ const WindowLaunchIcon = findComponentByCodeLazy("1-1h6a1 1 0 1 0 0-2H5Z");
const XSmallIcon = findComponentByCodeLazy("1.4L12 13.42l5.3 5.3Z");
const Chat = findComponentByCodeLazy("filterAfterTimestamp:", "chatInputType");
const Resize = findComponentByCodeLazy("sidebarType:", "RESIZE_HANDLE_WIDTH)");
const ChannelHeader = findComponentByCodeLazy(".GUILD_ANNOUNCEMENT", '"channel-".concat');
const ChannelHeader = findComponentByCodeLazy(".GUILD_ANNOUNCEMENT", "`channel-");
const PopoutWindow = findComponentByCodeLazy("Missing guestWindow reference");
const FullChannelView = findComponentByCodeLazy("showFollowButton:(null");
const FullChannelView = findComponentByCodeLazy(/showFollowButton:\i\?\.type===/);
const WanderingCubesLoading = findComponentByCodeLazy('="wanderingCubes"');
const ChatInputTypes = findByPropsLazy("FORM", "NORMAL");
@ -82,7 +82,7 @@ const ChannelSectionStore = findStoreLazy("ChannelSectionStore");
const requireChannelContextMenu = extractAndLoadChunksLazy(
["&&this.handleActivitiesPopoutClose(),"],
new RegExp(DefaultExtractAndLoadChunksRegex.source + ".{1,150}isFavorite")
new RegExp(DefaultExtractAndLoadChunksRegex.source + ".{1,250}hasActiveThread")
);
const requireForumView = extractAndLoadChunksLazy(

View file

@ -14,7 +14,7 @@ import { ReadStateStore, useStateFromStores } from "@webpack/common";
const UserGuildSettingsStore = findStoreLazy("UserGuildSettingsStore");
const JoinedThreadsStore = findStoreLazy("JoinedThreadsStore");
const NumberBadge = findComponentByCodeLazy("BADGE_NOTIFICATION_BACKGROUND", '"renderBadgeCount"');
const NumberBadge = findComponentByCodeLazy("BADGE_NOTIFICATION_BACKGROUND", "let{count:");
const settings = definePluginSettings({
showOnMutedChannels: {

View file

@ -19,7 +19,7 @@ import { closeAllModals, ModalCloseButton, ModalContent, ModalFooter, ModalHeade
import { filters, findComponentByCodeLazy, mapMangledModuleLazy } from "@webpack";
import { Button, FluxDispatcher, GuildStore, NavigationRouter, TextInput, useEffect, useMemo, UserStore, useState } from "@webpack/common";
const FileUpload = findComponentByCodeLazy(".currentTarget.files)", "lineClamp:1");
const FileUpload = findComponentByCodeLazy(".currentTarget.files", "lineClamp:1");
const { HelpMessage, HelpMessageTypes } = mapMangledModuleLazy('POSITIVE="positive', {
HelpMessageTypes: filters.byProps("POSITIVE", "WARNING", "INFO"),