From ee24439795df84f2a226d1b915d8037b074436e9 Mon Sep 17 00:00:00 2001
From: megumin <megumin.bakaretsurie@gmail.com>
Date: Thu, 8 Dec 2022 22:53:12 +0000
Subject: feat(plugin): sort friend requests by date received (#280)

---
 src/webpack/common.tsx | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

(limited to 'src/webpack/common.tsx')

diff --git a/src/webpack/common.tsx b/src/webpack/common.tsx
index 56846c2..0a5fd7d 100644
--- a/src/webpack/common.tsx
+++ b/src/webpack/common.tsx
@@ -52,7 +52,10 @@ export let UserStore: Stores.UserStore;
 export let SelectedChannelStore: Stores.SelectedChannelStore;
 export let SelectedGuildStore: any;
 export let ChannelStore: Stores.ChannelStore;
-export let RelationshipStore: Stores.RelationshipStore;
+export let RelationshipStore: Stores.RelationshipStore & {
+    /** Get the date (as a string) that the relationship was created */
+    getSince(userId: string): string;
+};
 
 export const Forms = {} as {
     FormTitle: Components.FormTitle;
-- 
cgit 

