aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/messageActions.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/messageActions.ts')
-rw-r--r--src/plugins/messageActions.ts7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/plugins/messageActions.ts b/src/plugins/messageActions.ts
index bb2ad17..05d792f 100644
--- a/src/plugins/messageActions.ts
+++ b/src/plugins/messageActions.ts
@@ -17,6 +17,7 @@
*/
import { addClickListener, removeClickListener } from "../api/MessageEvents";
+import { migratePluginSettings } from "../api/settings";
import { Devs } from "../utils/constants";
import { lazyWebpack } from "../utils/misc";
import definePlugin from "../utils/types";
@@ -27,9 +28,11 @@ let isDeletePressed = false;
const keydown = (e: KeyboardEvent) => e.key === "Backspace" && (isDeletePressed = true);
const keyup = (e: KeyboardEvent) => e.key === "Backspace" && (isDeletePressed = false);
+migratePluginSettings("MessageClickActions", "MessageQuickActions");
+
export default definePlugin({
- name: "MessageQuickActions",
- description: "Quick Delete, Quick edit",
+ name: "MessageClickActions",
+ description: "Hold Delete and click to delete, double click to edit",
authors: [Devs.Ven],
dependencies: ["MessageEventsAPI"],