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

Audio Not Displayed When Sending Both Image and Audio in /v2/send Endpoint #575

Open
2 tasks done
tzindler opened this issue Aug 13, 2024 · 1 comment
Open
2 tasks done

Comments

@tzindler
Copy link

The problem

Description

When attempting to send a message with both an image and an audio file using the /v2/send endpoint, only the image is displayed in the Signal app. The audio file is not shown or played. However, if the audio is sent first and the image second, only the audio is displayed. Sending two images works fine.

Steps to Reproduce

  1. Prepare a POST request to the /v2/send endpoint.
  2. Include both an image (as data:image/png;base64) and an audio file (as data:audio/mp3;base64) in the base64_attachments array.
  3. Send the request.
  4. Observe the Signal app for the received message.

Expected Behavior

Both the image and the audio file should be visible and playable in the Signal app.

Actual Behavior

  • If the image is placed first in the attachments array, only the image is displayed in the Signal app.
  • If the audio is placed first in the attachments array, only the audio is displayed.
  • Sending two images works as expected, displaying both images.

Are you using the latest released version?

  • Yes

Have you read the troubleshooting page?

  • Yes

What type of installation are you running?

signal-cli-rest-api Docker Container

In which mode are you using the docker container?

Normal Mode

What's the architecture of your host system?

x86-64

Additional information

No response

@bbernhard
Copy link
Owner

I think that might be a Signal (Server) limitation. I think you also can't do that with the App directly.

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

2 participants