aboutsummaryrefslogtreecommitdiff
path: root/telegram/client.go
diff options
context:
space:
mode:
authorBohdan Horbeshko <bodqhrohro@gmail.com>2022-02-08 23:25:58 +0300
committerBohdan Horbeshko <bodqhrohro@gmail.com>2022-02-08 23:25:58 +0300
commitec49d5d4124fec31d605d9242a3c21f183250902 (patch)
tree7a9a80f55101b40ee0f6f6923855f75d46bc9f28 /telegram/client.go
parentfe7346a530c8ac985f2a4a9edeeecc134f320a2f (diff)
gofmt
Diffstat (limited to 'telegram/client.go')
-rw-r--r--telegram/client.go18
1 files changed, 9 insertions, 9 deletions
diff --git a/telegram/client.go b/telegram/client.go
index 9a98be7..7c3d904 100644
--- a/telegram/client.go
+++ b/telegram/client.go
@@ -122,15 +122,15 @@ func NewClient(conf config.TelegramConfig, jid string, component *xmpp.Component
}
return &Client{
- parameters: &parameters,
- resource: resource,
- xmpp: component,
- jid: jid,
- Session: session,
- resources: make(map[string]bool),
- content: &conf.Content,
- cache: cache.NewCache(),
- options: options,
+ parameters: &parameters,
+ resource: resource,
+ xmpp: component,
+ jid: jid,
+ Session: session,
+ resources: make(map[string]bool),
+ content: &conf.Content,
+ cache: cache.NewCache(),
+ options: options,
DelayedStatuses: make(map[int64]*DelayedStatus),
locks: clientLocks{
chatMessageLocks: make(map[int64]*sync.Mutex),