SMYN: fix note

This commit is contained in:
thororen 2026-09-02 10:04:11 -04:00
parent ce80cafe61
commit cfeefee162
No known key found for this signature in database
2 changed files with 4 additions and 4 deletions

View file

@ -1526,7 +1526,7 @@ export default definePlugin({
]
},
{
// above but in the ui
// Let the mention autocomplete ui have our custom names, support our formatting, etc.
find: "#{intl::COMMANDS_OPTIONAL_COUNT}",
replacement: {
match: /\i\?\?\i\?\?\i\.\i\.getName\(\i\)/,

View file

@ -20,7 +20,7 @@ import { isPluginEnabled } from "@api/PluginManager";
import { definePluginSettings, migratePluginToSettings, Settings } from "@api/Settings";
import ErrorBoundary from "@components/ErrorBoundary";
import { getCustomColorString } from "@equicordplugins/customUserColors";
import ShowMeYourName from "@plugins/showMeYourName";
import showMeYourName from "@plugins/showMeYourName";
import { Devs, EquicordDevs } from "@utils/constants";
import { classNameFactory } from "@utils/css";
import { openUserProfile } from "@utils/discord";
@ -106,8 +106,8 @@ const TypingUser = ErrorBoundary.wrap(function TypingUser({ user, guildId }: Typ
size="SIZE_16"
src={user.getAvatarURL(guildId, 128)} />
)}
{isPluginEnabled(ShowMeYourName.name)
&& ShowMeYourName.getTypingMemberListProfilesReactionsVoiceNameText({ user, guildId, type: "typingIndicator" })
{isPluginEnabled(showMeYourName.name)
&& showMeYourName.getTypingMemberListProfilesReactionsVoiceNameText({ user, guildId, type: "typingIndicator" })
|| GuildMemberStore.getNick(guildId!, user.id)
|| (!guildId && RelationshipStore.getNickname(user.id))
|| (user as any).globalName