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

Saving picture from private message does not work #467

@ValdikSS

Description

@ValdikSS

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions