From 1caaa78490854bdd043775fe1b8ea087b0cdad8c Mon Sep 17 00:00:00 2001
From: Vendicated <vendicated@riseup.net>
Date: Mon, 17 Apr 2023 01:06:54 +0200
Subject: PinDMs: Add option to sort by most recent message

---
 src/plugins/pinDms/index.tsx | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

(limited to 'src/plugins/pinDms/index.tsx')

diff --git a/src/plugins/pinDms/index.tsx b/src/plugins/pinDms/index.tsx
index 1cc6289..3bb6735 100644
--- a/src/plugins/pinDms/index.tsx
+++ b/src/plugins/pinDms/index.tsx
@@ -21,7 +21,7 @@ import definePlugin from "@utils/types";
 import { Channel } from "discord-types/general";
 
 import { addContextMenus, removeContextMenus } from "./contextMenus";
-import { getPinAt, isPinned, snapshotArray, usePinnedDms } from "./settings";
+import { getPinAt, isPinned, settings, snapshotArray, usePinnedDms } from "./settings";
 
 export default definePlugin({
     name: "PinDMs",
@@ -30,6 +30,8 @@ export default definePlugin({
 
     dependencies: ["ContextMenuAPI"],
 
+    settings,
+
     start: addContextMenus,
     stop: removeContextMenus,
 
-- 
cgit 

