ReviewDB: Fix DM Profile Sidebar Patch (#4315)

This commit is contained in:
thororen 2026-06-18 15:28:13 -04:00 • committed by GitHub
parent e2c1cb56d3
commit 7037c3f8f4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -87,7 +87,7 @@ export default definePlugin({
// DM profile sidebar
find: ".SIDEBAR,disableToolbar:",
replacement: {
match: /user:(\i),widgets:.{0,100}?\}\),/,
match: /user:(\i),widgets:.{0,100}?\}\),(?=.{0,200}?#{intl::USER_PROFILE_WISHLIST})/,
replace: "$&$self.renderProfileComponent({user:$1,isSideBar:true}),"
}
},