test
This commit is contained in:
parent
eec6bbcd97
commit
01ed6d2bee
9
td.go
9
td.go
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user