This commit is contained in:
Hamcha 2018-12-13 12:17:18 +01:00
parent a181114c61
commit 707389387a
Signed by: hamcha
GPG key ID: A40413D21021EAEE

View file

@ -145,7 +145,7 @@ func webhook(update tg.APIUpdate) {
if err != nil {
errlist = append(errlist, cardname)
} else {
if card.CardFaces != nil {
if card.ImageUris.Large == "" && card.CardFaces != nil {
for _, cardface := range card.CardFaces {
cardmedia = append(cardmedia, tg.APIInputMediaPhoto{
Type: "photo",