Skip to content

Commit

Permalink
failed attempt at making images load on android-discord
Browse files Browse the repository at this point in the history
  • Loading branch information
9001 committed May 5, 2024
1 parent 48a6789 commit b15a4ef
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions copyparty/httpcli.py
Original file line number Diff line number Diff line change
Expand Up @@ -4841,9 +4841,8 @@ def tx_browser(self) -> bool:
}
elif is_pic:
title = str(vn.flags.get("og_title_i") or "")
ogh["og:type"] = "website"
ogh["twitter:card"] = "photo"
ogh["twitter:image:src"] = ogh["og:image"] = j2a["og_raw"]
ogh["twitter:card"] = "summary_large_image"
ogh["twitter:image"] = ogh["og:image"] = j2a["og_raw"]

try:
for k, v in file["tags"].items():
Expand Down

0 comments on commit b15a4ef

Please sign in to comment.