From b787218d088ed1819db8e6b9a9e713529060daca Mon Sep 17 00:00:00 2001 From: shoopea Date: Sun, 29 Dec 2019 11:30:00 +0800 Subject: [PATCH] fix --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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