diff --git a/workers.go b/workers.go index 3aae38a..668f6dd 100644 --- a/workers.go +++ b/workers.go @@ -402,7 +402,7 @@ func MQKeepAliveWorker() { nil, // arguments ) logOnError(err, "MQKeepAliveWorker : Failed to declare a queue") - clientsKeepAlive.Load(x.UserID64, &x) + clientsKeepAlive.Store(x.UserID64, &x) clientsQueue[x.UserID64] = &clt c := TGCommand{