aboutsummaryrefslogtreecommitdiffstats
path: root/src/Types.hx
diff options
context:
space:
mode:
authorRblSb <msrblsb@gmail.com>2024-08-15 08:29:24 +0300
committerRblSb <msrblsb@gmail.com>2024-08-15 08:33:17 +0300
commit4ac52a44ced3691581a1390bbdbdc0906074b3f3 (patch)
treedb18acc64e20d5837c0ef92787ccf8ab1eb6af2d /src/Types.hx
parent38cc0a1d9b4b146af7110c681389378fd26761fa (diff)
Add uuids for better reconection
Kick zombie users with same uuids. Minimal node version is 14.
Diffstat (limited to 'src/Types.hx')
-rw-r--r--src/Types.hx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Types.hx b/src/Types.hx
index a02b4a9..0e89b85 100644
--- a/src/Types.hx
+++ b/src/Types.hx
@@ -133,6 +133,7 @@ typedef FlashbackItem = {
typedef WsEvent = {
type:WsEventType,
?connected:{
+ uuid:String,
config:Config,
history:Array<Message>,
clients:Array<ClientData>,
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage