This commit is contained in:
shoopea 2020-02-01 20:45:14 +08:00
parent eec6bbcd97
commit 01ed6d2bee

9
td.go
View File

@ -1,7 +1,7 @@
package main
import (
"encoding/json"
//"encoding/json"
"fmt"
"log"
"math"
@ -199,13 +199,6 @@ func getHistory(c *tdlib.Client, chatID64 *int64, senderUserID64 *int64) {
}
}
if msg.ID == 22874685440 {
x, err := json.Marshal(msg)
logOnError(err, "Marshal")
fmt.Printf("DUMP:\n%s\n", x)
return
}
if m.ID64 != 0 && (*senderUserID64 == 0 || m.TGSenderUserID64 == *senderUserID64) {
MQCWMsgQueue <- m
msgCount = msgCount + 1