aboutsummaryrefslogtreecommitdiff
path: root/telegram/handlers.go
diff options
context:
space:
mode:
Diffstat (limited to 'telegram/handlers.go')
-rw-r--r--telegram/handlers.go2
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