1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-23 02:42:28 +01:00

Set client_state.highest_last_message_id to String OR Number

This commit is contained in:
Madeline 2022-07-10 21:57:55 +10:00
parent 58cebbf01b
commit 420779623e

View File

@ -38,7 +38,7 @@ export const IdentifySchema = {
$capabilities: Number, $capabilities: Number,
$client_state: { $client_state: {
$guild_hashes: Object, $guild_hashes: Object,
$highest_last_message_id: String, $highest_last_message_id: String || Number,
$read_state_version: Number, $read_state_version: Number,
$user_guild_settings_version: Number, $user_guild_settings_version: Number,
$user_settings_version: undefined, $user_settings_version: undefined,
@ -81,7 +81,7 @@ export interface IdentifySchema {
capabilities?: number; capabilities?: number;
client_state?: { client_state?: {
guild_hashes?: any; guild_hashes?: any;
highest_last_message_id?: string; highest_last_message_id?: string | number;
read_state_version?: number; read_state_version?: number;
user_guild_settings_version?: number; user_guild_settings_version?: number;
user_settings_version?: number; user_settings_version?: number;