diff --git a/main.go b/main.go index a4ca67c..901eb41 100644 --- a/main.go +++ b/main.go @@ -188,7 +188,7 @@ func ListenMe(c *tdlib.Client) { eventFilter := func(msg *tdlib.TdMessage) bool { updateMsg := (*msg).(*tdlib.UpdateNewMessage) senderUserID64 := int64(updateMsg.Message.SenderUserID) - if senderUserID == chtwrsID64 { + if senderUserID64 == chtwrsID64 { return true } else { return false