Merge branch 'chat-multi-upload' into 'develop'

Chats: allow uploading multiple attachments at once (if the backend supports it)

See merge request soapbox-pub/soapbox!2313
This commit is contained in:
Alex Gleason
2023-03-06 18:46:01 +00:00
4 changed files with 27 additions and 20 deletions

View File

@@ -284,7 +284,7 @@ const getInstanceFeatures = (instance: Instance) => {
* Whether chat messages can accept a `media_id` attachment.
* @see POST /api/v1/pleroma/chats/:id/messages
*/
chatsMedia: v.software !== TRUTHSOCIAL,
chatsMedia: v.software !== TRUTHSOCIAL || v.build === UNRELEASED,
/**
* Whether chat messages have read receipts.