diff options
author | Bohdan Horbeshko <bodqhrohro@gmail.com> | 2023-01-23 10:30:02 +0300 |
---|---|---|
committer | Bohdan Horbeshko <bodqhrohro@gmail.com> | 2023-01-23 10:30:02 +0300 |
commit | 18a17cb7a8abe0180bb4b1e8dd1f468956796922 (patch) | |
tree | 324dbaaf8b968b5b466ff5b9458eb777309d4dfb /telegram/client.go | |
parent | d66f87485d2a96ad9723c537c3fd11ee27579104 (diff) |
Fix crash on login
Diffstat (limited to 'telegram/client.go')
-rw-r--r-- | telegram/client.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/telegram/client.go b/telegram/client.go index 49816db..71d8125 100644 --- a/telegram/client.go +++ b/telegram/client.go @@ -63,7 +63,7 @@ type Client struct { } type clientLocks struct { - authorizationReady sync.WaitGroup + authorizationReady sync.Mutex chatMessageLocks map[int64]*sync.Mutex resourcesLock sync.Mutex } |