fix
This commit is contained in:
parent
24160a4086
commit
b787218d08
2
main.go
2
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
|
||||
|
Loading…
Reference in New Issue
Block a user