aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/clearURLs/index.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/clearURLs/index.ts')
-rw-r--r--src/plugins/clearURLs/index.ts8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/plugins/clearURLs/index.ts b/src/plugins/clearURLs/index.ts
index be0b802..b01faed 100644
--- a/src/plugins/clearURLs/index.ts
+++ b/src/plugins/clearURLs/index.ts
@@ -23,6 +23,7 @@ import {
removePreEditListener,
removePreSendListener,
} from "../../api/MessageEvents";
+import { Devs } from "../../utils/constants";
import definePlugin from "../../utils/types";
import { defaultRules } from "./defaultRules";
@@ -33,12 +34,7 @@ const reHasRegExpChar = RegExp(reRegExpChar.source);
export default definePlugin({
name: "clearURLs",
description: "Removes tracking garbage from URLs",
- authors: [
- {
- name: "adryd",
- id: 0n,
- },
- ],
+ authors: [Devs.adryd],
dependencies: ["MessageEventsAPI"],
escapeRegExp(str: string) {