Skip "message_me" cards
This commit is contained in:
parent
7b766b793b
commit
e7c5085365
|
@ -233,6 +233,9 @@ proc getTweetCard*(tweet: Tweet; node: XmlNode) =
|
||||||
tweet.poll = some Poll()
|
tweet.poll = some Poll()
|
||||||
return
|
return
|
||||||
|
|
||||||
|
if "message_me" in cardType:
|
||||||
|
return
|
||||||
|
|
||||||
let cardDiv = node.select(".card2 > .js-macaw-cards-iframe-container")
|
let cardDiv = node.select(".card2 > .js-macaw-cards-iframe-container")
|
||||||
if cardDiv == nil: return
|
if cardDiv == nil: return
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue