bbernhard / signal-cli-rest-api

Dockerized Signal Messenger REST API
https://bbernhard.github.io/signal-cli-rest-api/
MIT License
1.29k stars 154 forks source link

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

Open tzindler opened 1 month ago

tzindler commented 1 month ago

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

Are you using the latest released version?

Have you read the troubleshooting page?

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 commented 2 weeks ago

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