Don't send random read state / guild settings version numbers
This commit is contained in:
parent
a476319fb4
commit
3e9e8aac3b
@ -389,15 +389,12 @@ export async function onIdentify(this: WebSocket, data: Payload) {
|
|||||||
read_state: {
|
read_state: {
|
||||||
entries: read_states,
|
entries: read_states,
|
||||||
partial: false,
|
partial: false,
|
||||||
// TODO: what is this magic number?
|
version: 0, // TODO
|
||||||
// Isn't `version` referring to the number of changes since this obj was created?
|
|
||||||
// Why do we send this specific version?
|
|
||||||
version: 304128,
|
|
||||||
},
|
},
|
||||||
user_guild_settings: {
|
user_guild_settings: {
|
||||||
entries: user_guild_settings_entries,
|
entries: user_guild_settings_entries,
|
||||||
partial: false,
|
partial: false,
|
||||||
version: 642, // TODO: see above
|
version: 0, // TODO
|
||||||
},
|
},
|
||||||
private_channels: channels,
|
private_channels: channels,
|
||||||
session_id: this.session_id,
|
session_id: this.session_id,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user