ViewIcons: fix viewing icon in dm header

This commit is contained in:
Vendicated 2025-11-12 22:08:18 +01:00
parent e90b31e717
commit b3c070bca2
No known key found for this signature in database
GPG key ID: D66986BAF75ECF18

View file

@ -233,7 +233,7 @@ export default definePlugin({
},
// User Dms top large icon
{
find: 'experimentLocation:"empty_messages"',
find: ".EMPTY_GROUP_DM)",
replacement: {
match: /(?<=SIZE_80,)(?=src:(.+?\))[,}])/,
replace: (_, avatarUrl) => `onClick:()=>$self.openAvatar(${avatarUrl}),`