This commit is contained in:
shoopea 2019-12-29 11:30:00 +08:00
parent 24160a4086
commit b787218d08

View File

@ -188,7 +188,7 @@ func ListenMe(c *tdlib.Client) {
eventFilter := func(msg *tdlib.TdMessage) bool { eventFilter := func(msg *tdlib.TdMessage) bool {
updateMsg := (*msg).(*tdlib.UpdateNewMessage) updateMsg := (*msg).(*tdlib.UpdateNewMessage)
senderUserID64 := int64(updateMsg.Message.SenderUserID) senderUserID64 := int64(updateMsg.Message.SenderUserID)
if senderUserID == chtwrsID64 { if senderUserID64 == chtwrsID64 {
return true return true
} else { } else {
return false return false