summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2025-07-11 14:03:06 +0200
committerRory& <root@rory.gay>2025-09-29 18:38:06 +0200
commitb212cbbea1259e47d4cf9db107cacdb4e35e4e1c (patch)
tree86f7661b8b091752a16e188bbcf979fbd07b4aad /src
parentEmit USER_SETTINGS_PROTO_UPDATE (diff)
downloadserver-ts-b212cbbea1259e47d4cf9db107cacdb4e35e4e1c.tar.xz
Oops, actually send the events to a user...
Diffstat (limited to 'src')
-rw-r--r--src/api/routes/users/@me/settings-proto/1.ts1
-rw-r--r--src/api/routes/users/@me/settings-proto/2.ts1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/api/routes/users/@me/settings-proto/1.ts b/src/api/routes/users/@me/settings-proto/1.ts

index dcbad884..5a03c3ae 100644 --- a/src/api/routes/users/@me/settings-proto/1.ts +++ b/src/api/routes/users/@me/settings-proto/1.ts
@@ -194,6 +194,7 @@ async function patchUserSettings( await userSettings.save(); await emitEvent({ + user_id: userId, event: "USER_SETTINGS_PROTO_UPDATE", data: { settings: { diff --git a/src/api/routes/users/@me/settings-proto/2.ts b/src/api/routes/users/@me/settings-proto/2.ts
index 1ca34de7..2c3394fe 100644 --- a/src/api/routes/users/@me/settings-proto/2.ts +++ b/src/api/routes/users/@me/settings-proto/2.ts
@@ -196,6 +196,7 @@ async function patchUserSettings( await userSettings.save(); await emitEvent({ + user_id: userId, event: "USER_SETTINGS_PROTO_UPDATE", data: { settings: {