1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-06 02:42:37 +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 382dac140c
commit dda1365007
No known key found for this signature in database
GPG Key ID: 1958E017C36F2E47

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;