mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-26 11:30:50 +02:00
Add "Confirm image size before sending" setting.
Use this when sending images.
This commit is contained in:
@@ -323,8 +323,8 @@ typedef NS_ENUM(NSInteger, ImageCompressionMode)
|
||||
dispatch_group_leave(requestsGroup);
|
||||
}
|
||||
|
||||
// Only prompt for image resize only if all items are images
|
||||
if (areAllAttachmentsImages)
|
||||
// Only prompt for image resize if prompt is requested and all items are images
|
||||
if (RiotSettings.shared.roomInputToolbarCompressionMode == MXKRoomInputToolbarCompressionModePrompt && areAllAttachmentsImages)
|
||||
{
|
||||
if ([self areAttachmentsFullyLoaded])
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user