From f2f20e680bb06ebda76f67f8fae9d7ed12498c63 Mon Sep 17 00:00:00 2001 From: Bohdan Horbeshko Date: Sat, 18 Dec 2021 11:04:24 -0500 Subject: Fix %!(MISSING) and other formatting issues --- telegram/utils.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'telegram/utils.go') 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 "" } - markupFunction := formatter.EntityToMarkdown + markupFunction := formatter.EntityToXEP0393 switch message.Content.MessageContentType() { case client.TypeMessageSticker: sticker, _ := message.Content.(*client.MessageSticker) -- cgit v1.2.3