Version 1.7.0
This commit is contained in:
parent
ef831fc972
commit
a595d9db0a
|
@ -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
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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,
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue