aboutsummaryrefslogtreecommitdiff
path: root/src/webpack/common.tsx
diff options
context:
space:
mode:
authormegumin <megumin.bakaretsurie@gmail.com>2022-12-08 22:53:12 +0000
committerGitHub <noreply@github.com>2022-12-08 23:53:12 +0100
commitee24439795df84f2a226d1b915d8037b074436e9 (patch)
tree157156f973710302295ecd95db10bd3f26970564 /src/webpack/common.tsx
parent022bf17140894144fde5b59b55b5b7210c18eb93 (diff)
downloadVencord-ee24439795df84f2a226d1b915d8037b074436e9.tar.gz
Vencord-ee24439795df84f2a226d1b915d8037b074436e9.tar.bz2
Vencord-ee24439795df84f2a226d1b915d8037b074436e9.zip
feat(plugin): sort friend requests by date received (#280)
Diffstat (limited to 'src/webpack/common.tsx')
-rw-r--r--src/webpack/common.tsx5
1 files changed, 4 insertions, 1 deletions
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;