diff options
Diffstat (limited to 'telegram/client.go')
-rw-r--r-- | telegram/client.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/telegram/client.go b/telegram/client.go index e8643ce..a7fe332 100644 --- a/telegram/client.go +++ b/telegram/client.go @@ -53,6 +53,7 @@ type Client struct { xmpp *xmpp.Component jid string Session *persistence.Session + content *config.TelegramContentConfig locks clientLocks online bool @@ -101,6 +102,7 @@ func NewClient(conf config.TelegramConfig, jid string, component *xmpp.Component xmpp: component, jid: jid, Session: session, + content: &conf.Content, logVerbosity: logVerbosity, locks: clientLocks{}, }, nil |