aboutsummaryrefslogtreecommitdiff
path: root/telegram/utils.go
diff options
context:
space:
mode:
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)