diff options
author | Bohdan Horbeshko <bodqhrohro@gmail.com> | 2023-07-21 14:45:44 +0300 |
---|---|---|
committer | Bohdan Horbeshko <bodqhrohro@gmail.com> | 2023-07-21 14:45:44 +0300 |
commit | eadef987be11dc22a89c2aad990814bd89add770 (patch) | |
tree | d7ca50fd61e8aecd81049667dd871acc9c874f7b /telegram/client.go | |
parent | 563cb2d624598efdd3819daef00c64079d8a20e1 (diff) |
Revert "Avoid webpage preview updates being sent as message edits"
This reverts commit 563cb2d624598efdd3819daef00c64079d8a20e1.
Diffstat (limited to 'telegram/client.go')
-rw-r--r-- | telegram/client.go | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/telegram/client.go b/telegram/client.go index 5cc15a4..61d46aa 100644 --- a/telegram/client.go +++ b/telegram/client.go @@ -53,7 +53,6 @@ type Client struct { Session *persistence.Session resources map[string]bool outbox map[string]string - editQueue map[ChatMessageId]bool content *config.TelegramContentConfig cache *cache.Cache online bool @@ -70,7 +69,6 @@ type clientLocks struct { chatMessageLocks map[int64]*sync.Mutex resourcesLock sync.Mutex outboxLock sync.Mutex - editQueueLock sync.Mutex } // NewClient instantiates a Telegram App @@ -127,7 +125,6 @@ func NewClient(conf config.TelegramConfig, jid string, component *xmpp.Component Session: session, resources: make(map[string]bool), outbox: make(map[string]string), - editQueue: make(map[ChatMessageId]bool), content: &conf.Content, cache: cache.NewCache(), options: options, |