signal-cli-rest-api
signal-cli-rest-api copied to clipboard
Audio Not Displayed When Sending Both Image and Audio in `/v2/send` Endpoint
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
-
Prepare a POST request to the
/v2/sendendpoint. - Include both an image (as
data:image/png;base64) and an audio file (asdata:audio/mp3;base64) in thebase64_attachmentsarray. - Send the request.
- 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
attachmentsarray, only the image is displayed in the Signal app. - If the audio is placed first in the
attachmentsarray, 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
I think that might be a Signal (Server) limitation. I think you also can't do that with the App directly.
closing due to inactivity