This commit is contained in:
shoopea 2020-01-25 19:25:27 +08:00
parent 6ecf2dc0db
commit c8dee001d4

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 { if chatID == chat_guild && updateMsg.MessageContent.GetMessageContentEnum() == tdlib.MessageTextType {
return true return true
} }
return false return false