Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Attachments are not recognized at receiver #1278

Open
codecivil opened this issue Aug 5, 2024 · 0 comments
Open

[BUG] Attachments are not recognized at receiver #1278

codecivil opened this issue Aug 5, 2024 · 0 comments

Comments

@codecivil
Copy link

Description

Attachments sent by axolotl on my ubuntu touch phone are received without filename or mimetype info. Downloading and renaming the attachment is a workaround (if you know the filetype a priori).

Steps to Reproduce

  1. Attach a photo, document (or presumably also a audio or video file) to a message and send it.

Expected behavior: [What you expect to happen]
The receiver using the official Signal App sees the attachment (of supported type) and can click it to see the image/play the video etc.

Actual behavior: [What actually happens]
The receiver sees a nameless attachment of indeterminate filetype, e.g. a "MacBinary" instead of a JPEG on an iPhone. The receiver cannot open the attachment inside the Signal app but can download it.

I am not enough into Rust to be able to create a pull request but maybe constructing an automatic filename with the correct suffix in lines 1188 and 1272 of handlers.rs instead of "file_name: None" might resolve the issue; this might also be nonsense, however.

Versions

Axolotl Beta

Device

Ubuntu Touch on Sony Xperia X

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

No branches or pull requests

1 participant