Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

Saving picture from private message does not work #467

Open
ValdikSS opened this issue Sep 11, 2022 · 1 comment
Open

Saving picture from private message does not work #467

ValdikSS opened this issue Sep 11, 2022 · 1 comment

Comments

@ValdikSS
Copy link

Describe the bug
When I try to save the image sent in private using right click → save as, the file is created, but it is 0 bytes.
If I right click → open in browser on the picture, it opens the URL on ton.twitter.com domain, which returns 404 (does not show the picture).

To Reproduce
Steps to reproduce the behavior:

  1. Open private message with some picture
  2. Right-click on it, press "save as…"
  3. Save the file
  4. Try to open saved picture

Expected behavior
The picture is downloaded and saved correctly.

Actual result
The saved picture file is 0 byte in size.

System details:

  • OS: Fedora 35
  • Version: 1.5
  • Package type: Fedora package

Additional context

(cawbird:50181): cawbird-DEBUG: 20:07:44.744: Removing avatar with id 90142118 from cache
(cawbird:50181): cawbird-DEBUG: 20:07:44.745: BadgeRadioButton.vala:23: New show_badge value: false
(cawbird:50181): cawbird-DEBUG: 20:07:44.745: DMThreadsPage.vala:282: unread_count -= 0
(cawbird:50181): cawbird-DEBUG: 20:07:56.674: MediaButton.vala:303: Downloading https://ton.twitter.com/1.1/ton/data/dm/XXXXXXXXXXXX/YYYYYYYYYYYYY/CfOoYh3Q.png:orig to /home/valdikss/CfOoYh3Q.png
(cawbird:50181): cawbird-DEBUG: 20:07:57.568: MediaButton.vala:315: Download of https://ton.twitter.com/1.1/ton/data/dm/XXXXXXXXXXXX/YYYYYYYYYYYYY/CfOoYh3Q.png:orig finished
@ValdikSS
Copy link
Author

Twitter requires proper HTTP referrer of the DM chat, otherwise 404 is returned.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant