aboutsummaryrefslogtreecommitdiff
path: root/telegram/utils.go
diff options
context:
space:
mode:
authorBohdan Horbeshko <bodqhrohro@gmail.com>2021-12-18 19:04:24 +0300
committerBohdan Horbeshko <bodqhrohro@gmail.com>2021-12-18 19:04:24 +0300
commitf2f20e680bb06ebda76f67f8fae9d7ed12498c63 (patch)
tree03eaeefb422396a6af55128b6b62230a9dd39b43 /telegram/utils.go
parentad6e92e6d602c40e4bd44be785e00f563393192a (diff)
Fix %!(MISSING) and other formatting issues
Diffstat (limited to 'telegram/utils.go')
-rw-r--r--telegram/utils.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/telegram/utils.go b/telegram/utils.go
index 476ae43..387ddea 100644
--- a/telegram/utils.go
+++ b/telegram/utils.go
@@ -292,7 +292,7 @@ func (c *Client) messageToText(message *client.Message) string {
return "<BIG EMOJI>"
}
- markupFunction := formatter.EntityToMarkdown
+ markupFunction := formatter.EntityToXEP0393
switch message.Content.MessageContentType() {
case client.TypeMessageSticker:
sticker, _ := message.Content.(*client.MessageSticker)