diff options
author | Bohdan Horbeshko <bodqhrohro@gmail.com> | 2024-04-12 03:37:51 +0300 |
---|---|---|
committer | Bohdan Horbeshko <bodqhrohro@gmail.com> | 2024-04-12 03:37:51 +0300 |
commit | a36856b76852c98681fd7c30fbdededb3cfc5470 (patch) | |
tree | e3c89c2925dc06200339ebce89b05f6a02a93370 | |
parent | b499992148978913aacac2e86248f0b89c6c81b7 (diff) |
Fix filtering content updates for outgoing messages
-rw-r--r-- | telegram/handlers.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/telegram/handlers.go b/telegram/handlers.go index ed18e4f..64280e6 100644 --- a/telegram/handlers.go +++ b/telegram/handlers.go @@ -371,6 +371,8 @@ func (c *Client) updateMessageSendSucceeded(update *client.UpdateMessageSendSucc log.Errorf("failed to replace %v with %v: %v", update.OldMessageId, update.Message.Id, err.Error()) } + c.updateLastMessageHash(update.Message.ChatId, update.Message.Id, update.Message.Content) + c.sendMarker(update.Message.ChatId, update.Message.Id, gateway.MarkerTypeReceived) // clean uploaded files |