Dragify: Fix Patch

This commit is contained in:
thororen1234 2026-03-25 11:53:01 -04:00
parent 5c3c5a05f3
commit 08bac5c64d
No known key found for this signature in database

View file

@ -166,9 +166,9 @@ export default definePlugin({
patches: [
// Voice user rows (voice channel sidebar list)
{
find: "location:\"VoiceUser\"",
find: '"system:click_outside","user:escape"',
replacement: {
match: /(?<=previewIsOpen:.{0,100})"data-dnd-name":(\i)\.name,/,
match: /(?<=setIsHangStatusInputFocused:.{0,150})"data-dnd-name":(\i)\.name,/,
replace: "$&\"data-dragify-user\":!0,\"data-user-id\":arguments[0].user?.id,draggable:!0,onDragStart:e=>$self.onUserDragStart(e,arguments[0].user),"
}
},