summary refs log tree commit diff
path: root/src/util/schemas/ActivitySchema.ts
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/util/schemas/ActivitySchema.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/schemas/ActivitySchema.ts b/src/util/schemas/ActivitySchema.ts
index 5a3d205b..e4501bd7 100644
--- a/src/util/schemas/ActivitySchema.ts
+++ b/src/util/schemas/ActivitySchema.ts
@@ -1,7 +1,7 @@
 import { Activity, Status } from "@fosscord/util";
 
 export const ActivitySchema = {
-	afk: Boolean,
+	$afk: Boolean,
 	status: String,
 	$activities: [
 		{
@@ -54,7 +54,7 @@ export const ActivitySchema = {
 };
 
 export interface ActivitySchema {
-	afk: boolean;
+	afk?: boolean;
 	status: Status;
 	activities?: Activity[];
 	since?: number; // unix time (in milliseconds) of when the client went idle, or null if the client is not idle