summary refs log tree commit diff
diff options
context:
space:
mode:
authorNobody <git@n0bodysec.com>2022-03-08 10:52:54 -0300
committerErkin Alp Güney <erkinalp9035@gmail.com>2022-03-08 18:08:32 +0300
commitc9b581c84214f21fcb5ce49da565825b0e9b4d22 (patch)
tree7cb835d48608c7514010d55b7138f44cdb490a9a
parentfix(api): working invisible status type (diff)
downloadserver-c9b581c84214f21fcb5ce49da565825b0e9b4d22.tar.xz
fix(util): working invisible status type
-rw-r--r--util/src/entities/User.ts2
-rw-r--r--util/src/interfaces/Status.ts2
2 files changed, 2 insertions, 2 deletions
diff --git a/util/src/entities/User.ts b/util/src/entities/User.ts
index 1d18c838..ed7bd4ce 100644
--- a/util/src/entities/User.ts
+++ b/util/src/entities/User.ts
@@ -360,7 +360,7 @@ export interface UserSettings {
 	render_reactions: boolean;
 	restricted_guilds: string[];
 	show_current_game: boolean;
-	status: "online" | "offline" | "dnd" | "idle";
+	status: "online" | "offline" | "dnd" | "idle" | "invisible";
 	stream_notifications_enabled: boolean;
 	theme: "dark" | "white"; // dark
 	timezone_offset: number; // e.g -60
diff --git a/util/src/interfaces/Status.ts b/util/src/interfaces/Status.ts
index c4dab586..5d2e1bba 100644
--- a/util/src/interfaces/Status.ts
+++ b/util/src/interfaces/Status.ts
@@ -1,4 +1,4 @@
-export type Status = "idle" | "dnd" | "online" | "offline";
+export type Status = "idle" | "dnd" | "online" | "offline" | "invisible";
 
 export interface ClientStatus {
 	desktop?: string; // e.g. Windows/Linux/Mac