aboutsummaryrefslogtreecommitdiff
path: root/telegram/client.go
diff options
context:
space:
mode:
Diffstat (limited to 'telegram/client.go')
-rw-r--r--telegram/client.go2
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
}