This commit is contained in:
shoopea 2019-05-04 17:59:19 +08:00
parent 12a28dd6e4
commit a368148915

2
td.go
View File

@ -72,7 +72,7 @@ func getHistory(c *tdlib.Client, chatID64 *int64, senderUserID64 *int64) {
var msgCount int32 = 0 var msgCount int32 = 0
var lastMsgTime time.Time = time.Now() var lastMsgTime time.Time = time.Now()
if chatID64 == 0 { if &chatID64 == 0 {
chat := user_chtwrsbot chat := user_chtwrsbot
} else { } else {
chat = chatID64 chat = chatID64