After uploading two images, but before successfully sending the tweet, Twidere emits an error message:
segment size must be >= 1
java.nio.HeapByteBuffer[pos=64 lim=64 cap=66].
Steps to reproduce
(Must be logged in to Twitter account)
Press "feather" button to compose new tweet
Press "paperclip" button to "Add media". Select first image.
Repeat to add second image.
Press "right arrow" (send) button.
Wait a minute while images and text are uploaded via mobile data.
The error message above briefly appears in Twidere (I had to screenshot it to be able to copy it); the unsent tweet is put in the Drafts folder, and a notification "Tweet not sent." appears. Trying to send it again results in the same error. Changing the text message and trying to send again results in the same error. Sending a tweet with a single image seems to work fine. Some googling seems to indicate the issue might be related to the Twitter API and not specifically to Twidere, but I don't know how to properly check it.
Expected behavior
Tweet should be sent normally.
Actual behavior
After uploading two images, but before successfully sending the tweet, Twidere emits an error message:
Steps to reproduce
(Must be logged in to Twitter account)
Extra info
Android version: 12
Network type:
App version: 4.1.8 Build variant:
Micro-blogging service:
App settings: