mirror of
https://github.com/spacebarchat/server.git
synced 2026-05-20 00:05:32 +00:00
add notification_settings object to ready
This commit is contained in:
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