signal-cli-rest-api icon indicating copy to clipboard operation
signal-cli-rest-api copied to clipboard

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

Open tzindler opened this issue 1 year ago • 1 comments

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?

  • [X] Yes

Have you read the troubleshooting page?

  • [X] 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

tzindler avatar Aug 13 '24 15:08 tzindler

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

bbernhard avatar Sep 13 '24 18:09 bbernhard

closing due to inactivity

bbernhard avatar Nov 18 '24 09:11 bbernhard