diff --git a/src/plugins/searchReply/README.md b/src/plugins/searchReply/README.md deleted file mode 100644 index b06798f7..00000000 --- a/src/plugins/searchReply/README.md +++ /dev/null @@ -1,6 +0,0 @@ -# SearchReply - -Adds a reply button to search results. - -![the plugin in action](https://github.com/Vendicated/Vencord/assets/45497981/07e741d3-0f97-4e5c-82b0-80712ecf2cbb) - diff --git a/src/plugins/searchReply/index.tsx b/src/plugins/searchReply/index.tsx index 298e7421..2e8da762 100644 --- a/src/plugins/searchReply/index.tsx +++ b/src/plugins/searchReply/index.tsx @@ -35,7 +35,7 @@ const messageContextMenuPatch: NavContextMenuPatchCallback = (children, { messag if (channel.guild_id && !PermissionStore.can(PermissionsBits.SEND_MESSAGES, channel)) return; // dms and group chats - const dmGroup = findGroupChildrenByChildId("pin", children); + const dmGroup = findGroupChildrenByChildId("create-thread", children); if (dmGroup && !dmGroup.some(child => child?.props?.id === "reply")) { const pinIndex = dmGroup.findIndex(c => c?.props.id === "pin"); dmGroup.splice(pinIndex + 1, 0, ( @@ -50,7 +50,7 @@ const messageContextMenuPatch: NavContextMenuPatchCallback = (children, { messag } // servers - const serverGroup = findGroupChildrenByChildId("mark-unread", children); + const serverGroup = findGroupChildrenByChildId("create-thread", children); if (serverGroup && !serverGroup.some(child => child?.props?.id === "reply")) { serverGroup.unshift((