diff options
Diffstat (limited to 'telegram/client.go')
-rw-r--r-- | telegram/client.go | 18 |
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: ¶meters, - resource: resource, - xmpp: component, - jid: jid, - Session: session, - resources: make(map[string]bool), - content: &conf.Content, - cache: cache.NewCache(), - options: options, + parameters: ¶meters, + 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), |