chore: update my branch #1

Merged
Future merged 18 commits from update/alterware into alterware 2025-06-02 09:29:44 +00:00
Showing only changes of commit f3adcf0c78 - Show all commits

View File

@ -38,6 +38,8 @@ def tweetDataToActivity(tweetData,embedIndex = -1):
media['type'] = "gifv" media['type'] = "gifv"
if 'thumbnail_url' not in media: if 'thumbnail_url' not in media:
media['thumbnail_url'] = media['url'] media['thumbnail_url'] = media['url']
if media['type'] == "image" and "?" not in media['url']:
media['url'] += "?name=orig"
attachments.append({ attachments.append({
"id": "114163769487684704", "id": "114163769487684704",
"type": media['type'], "type": media['type'],