diff --git a/README.md b/README.md index b95a4d0b..6aac9e57 100644 --- a/README.md +++ b/README.md @@ -14,5 +14,5 @@

-Branch that [slowcord.maddy.k.vu](https://slowcord.maddy.k.vu) runs. +Branch that [slowcord.understars.dev](https://slowcord.understars.dev) runs. Generally up to date with master, also contains my fixes/etc that aren't yet merged. diff --git a/gateway/src/schema/Activity.ts b/gateway/src/schema/Activity.ts index c21e993c..3cf254a1 100644 --- a/gateway/src/schema/Activity.ts +++ b/gateway/src/schema/Activity.ts @@ -38,17 +38,18 @@ export const ActivitySchema = { }, $instance: Boolean, $flags: String, + + $id: String, + $sync_id: String, + $metadata: { // spotify + $context_url: String, + album_id: String, + artist_ids: [String], + }, + $session_id: String, }, ], $since: Number, // unix time (in milliseconds) of when the client went idle, or null if the client is not idle - - $id: String, - $sync_id: String, - $metadata: { // spotify - $context_url: String, - album_id: String, - artist_ids: [String], - } }; export interface ActivitySchema { diff --git a/util/src/interfaces/Activity.ts b/util/src/interfaces/Activity.ts index a2cd2222..944a6466 100644 --- a/util/src/interfaces/Activity.ts +++ b/util/src/interfaces/Activity.ts @@ -40,7 +40,8 @@ export interface Activity { context_url?: string; album_id: string; artist_ids: string[]; - } + }; + session_id: string; } export enum ActivityType {