Version 1.6.0

message-nick v1.6.0
Bohdan Horbeshko 11 months ago
parent 79fc0ddbe5
commit 00f1417cb2

@ -15,7 +15,7 @@ import (
goxmpp "gosrc.io/xmpp"
)
var version string = "1.6.0-dev"
var version string = "1.6.0"
var commit string
var sm *goxmpp.StreamManager

@ -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)

Loading…
Cancel
Save