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,
|
tutorial: null,
|
||||||
session_type: "normal", // TODO
|
session_type: "normal", // TODO
|
||||||
auth_session_id_hash: "", // TODO
|
auth_session_id_hash: "", // TODO
|
||||||
|
notification_settings: {
|
||||||
|
// ????
|
||||||
|
flags: 0,
|
||||||
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
// Send READY
|
// Send READY
|
||||||
|
|||||||
@ -129,6 +129,9 @@ export interface ReadyEventData {
|
|||||||
| "REQUIRE_CAPTCHA" // TODO: allow these to be triggered
|
| "REQUIRE_CAPTCHA" // TODO: allow these to be triggered
|
||||||
| "TOS_UPDATE_ACKNOWLEDGMENT"
|
| "TOS_UPDATE_ACKNOWLEDGMENT"
|
||||||
| "AGREEMENTS";
|
| "AGREEMENTS";
|
||||||
|
notification_settings: {
|
||||||
|
flags: number;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface ReadyEvent extends Event {
|
export interface ReadyEvent extends Event {
|
||||||
|
|||||||
Reference in New Issue
Block a user