Version 1.7.0

This commit is contained in:
Bohdan Horbeshko 2023-07-31 21:37:05 -04:00
parent ef831fc972
commit a595d9db0a
3 changed files with 4 additions and 4 deletions

View file

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

View file

@ -942,8 +942,8 @@ func (c *Client) ProcessChatCommand(chatID int64, cmdline string) (string, bool)
}
}
_, err = c.client.SetChatMessageAutoDeleteTime(&client.SetChatMessageAutoDeleteTimeRequest{
ChatId: chatID,
MessageAutoDeleteTime: int32(ttl),
ChatId: chatID,
MessageAutoDeleteTime: int32(ttl),
})
if err != nil {

View file

@ -406,7 +406,7 @@ func TestMessageTtl3(t *testing.T) {
func TestMessageTtl4(t *testing.T) {
ttl := client.Message{
Content: &client.MessageChatSetMessageAutoDeleteTime{
FromUserId: 3,
FromUserId: 3,
MessageAutoDeleteTime: 3,
},
}