mirror of
https://github.com/spacebarchat/server.git
synced 2026-10-23 08:43:02 +00:00
Oops, actually send the events to a user...
This commit is contained in:
1 parent
1147dd1d1f
commit
1b5f1c515a
2 files changed
+2
No files matched your search
@@ -194,6 +194,7 @@ async function patchUserSettings(
|
||||
await userSettings.save();
|
||||
|
||||
await emitEvent({
|
||||
user_id: userId,
|
||||
event: "USER_SETTINGS_PROTO_UPDATE",
|
||||
data: {
|
||||
settings: {
|
||||
|
||||
@@ -196,6 +196,7 @@ async function patchUserSettings(
|
||||
await userSettings.save();
|
||||
|
||||
await emitEvent({
|
||||
user_id: userId,
|
||||
event: "USER_SETTINGS_PROTO_UPDATE",
|
||||
data: {
|
||||
settings: {
|
||||
|
||||
Reference in new issue
Block a user