Fix messageActions

This commit is contained in:
Vendicated 2022-09-01 23:11:12 +02:00
parent d4eadf9348
commit ab9f77e770
No known key found for this signature in database
GPG key ID: EC781ADFB93EFFA3

View file

@ -18,7 +18,6 @@ export default definePlugin({
const { Permissions: { MANAGE_MESSAGES } } = find(m => m.Permissions?.MANAGE_MESSAGES); const { Permissions: { MANAGE_MESSAGES } } = find(m => m.Permissions?.MANAGE_MESSAGES);
const { getCurrentUser } = findByProps("getCurrentUser"); const { getCurrentUser } = findByProps("getCurrentUser");
let isDeletePressed = false;
document.addEventListener("keydown", keydown); document.addEventListener("keydown", keydown);
document.addEventListener("keyup", keyup); document.addEventListener("keyup", keyup);