test
This commit is contained in:
parent
a26caf494c
commit
3c59150847
7
td.go
7
td.go
@ -199,13 +199,6 @@ func getHistory(c *tdlib.Client, chatID64 *int64, senderUserID64 *int64) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if msg.ID == 21585985536 {
|
|
||||||
x, err := json.Marshal(msg)
|
|
||||||
logOnError(err, "getHistory : Marshal")
|
|
||||||
fmt.Printf("DUMP : \n%s\n", string(x))
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
if m.ID64 != 0 && (*senderUserID64 == 0 || m.TGSenderUserID64 == *senderUserID64) {
|
if m.ID64 != 0 && (*senderUserID64 == 0 || m.TGSenderUserID64 == *senderUserID64) {
|
||||||
MQCWMsgQueue <- m
|
MQCWMsgQueue <- m
|
||||||
msgCount = msgCount + 1
|
msgCount = msgCount + 1
|
||||||
|
Loading…
Reference in New Issue
Block a user