aboutsummaryrefslogtreecommitdiff
path: root/telegram/handlers.go
diff options
context:
space:
mode:
authorBohdan Horbeshko <bodqhrohro@gmail.com>2023-06-08 20:33:22 +0300
committerBohdan Horbeshko <bodqhrohro@gmail.com>2023-06-08 20:33:22 +0300
commit00f1417cb2ed8199633a12989e9befb53298d407 (patch)
tree37b7eeb9d66595c14bf5b4941cc13ff3f9bdb5d5 /telegram/handlers.go
parent79fc0ddbe5010f54707441cb3f15c43192124ed2 (diff)
Version 1.6.0v1.6.0
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 6de59e7..57402ab 100644
--- a/telegram/handlers.go
+++ b/telegram/handlers.go
@@ -274,7 +274,7 @@ func (c *Client) updateAuthorizationState(update *client.UpdateAuthorizationStat
func (c *Client) updateMessageSendSucceeded(update *client.UpdateMessageSendSucceeded) {
log.Debugf("replace message %v with %v", update.OldMessageId, update.Message.Id)
if err := gateway.IdsDB.ReplaceTgId(c.Session.Login, c.jid, update.Message.ChatId, update.OldMessageId, update.Message.Id); err != nil {
- log.Error("failed to replace %v with %v: %v", update.OldMessageId, update.Message.Id, err.Error())
+ log.Errorf("failed to replace %v with %v: %v", update.OldMessageId, update.Message.Id, err.Error())
}
file, _ := c.contentToFile(update.Message.Content)