fix
This commit is contained in:
parent
1d114e6992
commit
05ef0ceccb
6
td.go
6
td.go
@ -111,10 +111,12 @@ func getHistory(c *tdlib.Client, chatID64 *int64, senderUserID64 *int64) {
|
|||||||
Text: msg.Content.(*tdlib.MessageText).Text.Text,
|
Text: msg.Content.(*tdlib.MessageText).Text.Text,
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
m = nil
|
m = ChatWarsMessage{
|
||||||
|
ID64: 0,
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if m != nil {
|
if m.ID64 != 0 {
|
||||||
MQCWMsgQueue <- m
|
MQCWMsgQueue <- m
|
||||||
|
|
||||||
if m.ID64 < lastMsgID64 {
|
if m.ID64 < lastMsgID64 {
|
||||||
|
Loading…
Reference in New Issue
Block a user