aboutsummaryrefslogtreecommitdiff
path: root/telegram/handlers.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/handlers.go
parentad6e92e6d602c40e4bd44be785e00f563393192a (diff)
Fix %!(MISSING) and other formatting issues
Diffstat (limited to 'telegram/handlers.go')
-rw-r--r--telegram/handlers.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/telegram/handlers.go b/telegram/handlers.go
index f8e6751..a897291 100644
--- a/telegram/handlers.go
+++ b/telegram/handlers.go
@@ -237,7 +237,7 @@ func (c *Client) updateNewMessage(update *client.UpdateNewMessage) {
// message content updated
func (c *Client) updateMessageContent(update *client.UpdateMessageContent) {
- markupFunction := formatter.EntityToMarkdown
+ markupFunction := formatter.EntityToXEP0393
if update.NewContent.MessageContentType() == client.TypeMessageText {
textContent := update.NewContent.(*client.MessageText)
text := fmt.Sprintf("✎ %v | %s", update.MessageID, formatter.Format(