Add live updating of users

Provied a subscription for user updates and send updates whenever the
details of a user account is changed.
This commit is contained in:
Hornwitser committed 2022-07-08 01:00:54 +02:00
1 parent db562ce6a0
commit 096f338277
12 files changed
+292 -39

No files matched your search

+1
View File
@@ -186,6 +186,7 @@ class SlaveConnection extends BaseConnection {
} else if (type === "leave") {
user.notifyLeave(instance_id);
}
this._master.userUpdated(user);
let instance = this._master.instances.get(instance_id);
await libPlugin.invokeHook(this._master.plugins, "onPlayerEvent", instance, message.data);