From 5d33218c8aa0cea5793d2f239b998c8d74e6ca95 Mon Sep 17 00:00:00 2001 From: shoopea Date: Sat, 25 Jan 2020 19:26:19 +0800 Subject: [PATCH] test --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index c2c2bcb..30b4e4d 100644 --- a/main.go +++ b/main.go @@ -381,7 +381,7 @@ func ListenGuild(c *tdlib.Client) { updateMsg := (*msg).(*tdlib.UpdateNewMessage) chatID := updateMsg.Message.ChatID // senderUserID := updateMsg.Message.SenderUserID - if chatID == chat_guild && updateMsg.MessageContent.GetMessageContentEnum() == tdlib.MessageTextType { + if chatID == chat_guild && updateMsg.Message.MessageContent.GetMessageContentEnum() == tdlib.MessageTextType { return true } return false