diff options
author | Bohdan Horbeshko <bodqhrohro@gmail.com> | 2023-08-01 04:25:24 +0300 |
---|---|---|
committer | Bohdan Horbeshko <bodqhrohro@gmail.com> | 2023-08-01 04:25:24 +0300 |
commit | ef831fc9725601a94149ce94c3fb686afc77e0a5 (patch) | |
tree | 4046e57e03097d9af33cde558056cd5393fa77f4 /telegram/handlers.go | |
parent | 748366ad6a9dc4b2a269d5499ae1d5d7e8526762 (diff) |
Migrate to TDLib 1.8.14 (multiple usernames support)
Diffstat (limited to 'telegram/handlers.go')
-rw-r--r-- | telegram/handlers.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/telegram/handlers.go b/telegram/handlers.go index cc6e635..cedea63 100644 --- a/telegram/handlers.go +++ b/telegram/handlers.go @@ -233,7 +233,7 @@ func (c *Client) updateNewMessage(update *client.UpdateNewMessage) { // message content updated func (c *Client) updateMessageContent(update *client.UpdateMessageContent) { - markupFunction := formatter.EntityToXEP0393 + markupFunction := c.getFormatter() defer c.updateLastMessageHash(update.ChatId, update.MessageId, update.NewContent) |