add notification_settings object to ready
This commit is contained in:
parent
2028b25902
commit
939d1bd8d5
Binary file not shown.
Binary file not shown.
@ -439,6 +439,10 @@ export async function onIdentify(this: WebSocket, data: Payload) {
|
||||
tutorial: null,
|
||||
session_type: "normal", // TODO
|
||||
auth_session_id_hash: "", // TODO
|
||||
notification_settings: {
|
||||
// ????
|
||||
flags: 0,
|
||||
},
|
||||
};
|
||||
|
||||
// Send READY
|
||||
|
||||
@ -129,6 +129,9 @@ export interface ReadyEventData {
|
||||
| "REQUIRE_CAPTCHA" // TODO: allow these to be triggered
|
||||
| "TOS_UPDATE_ACKNOWLEDGMENT"
|
||||
| "AGREEMENTS";
|
||||
notification_settings: {
|
||||
flags: number;
|
||||
};
|
||||
}
|
||||
|
||||
export interface ReadyEvent extends Event {
|
||||
|
||||
Reference in New Issue
Block a user