|
|
@ -221,7 +221,7 @@ export default definePlugin({
|
|
|
|
},
|
|
|
|
},
|
|
|
|
// User DMs top small icon
|
|
|
|
// User DMs top small icon
|
|
|
|
{
|
|
|
|
{
|
|
|
|
find: /HiddenVisually,{children:\i\.\i\.Messages\.DIRECT_MESSAGE/,
|
|
|
|
find: ".cursorPointer:null,children",
|
|
|
|
replacement: {
|
|
|
|
replacement: {
|
|
|
|
match: /.Avatar,.+?src:(.+?\))(?=[,}])/,
|
|
|
|
match: /.Avatar,.+?src:(.+?\))(?=[,}])/,
|
|
|
|
replace: (m, avatarUrl) => `${m},onClick:()=>$self.openImage(${avatarUrl})`
|
|
|
|
replace: (m, avatarUrl) => `${m},onClick:()=>$self.openImage(${avatarUrl})`
|
|
|
|