This commit is contained in:
shoopea 2020-01-25 19:26:19 +08:00
parent c8dee001d4
commit 5d33218c8a

View File

@ -381,7 +381,7 @@ func ListenGuild(c *tdlib.Client) {
updateMsg := (*msg).(*tdlib.UpdateNewMessage) updateMsg := (*msg).(*tdlib.UpdateNewMessage)
chatID := updateMsg.Message.ChatID chatID := updateMsg.Message.ChatID
// senderUserID := updateMsg.Message.SenderUserID // 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 true
} }
return false return false