mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-21 09:02:44 +02:00
Bug Fix: Add the m.audio attachments support
We support here the display of the attached audio files, but we are still not able to attach audio file. #1102
This commit is contained in:
@@ -214,7 +214,7 @@ static NSAttributedString *readReceiptVerticalWhitespace = nil;
|
||||
if (bubbleComponents.count)
|
||||
{
|
||||
// Set position of the first component
|
||||
CGFloat positionY = (self.attachment == nil || self.attachment.type == MXKAttachmentTypeFile) ? MXKROOMBUBBLECELLDATA_TEXTVIEW_DEFAULT_VERTICAL_INSET : 0;
|
||||
CGFloat positionY = (self.attachment == nil || self.attachment.type == MXKAttachmentTypeFile || self.attachment.type == MXKAttachmentTypeAudio) ? MXKROOMBUBBLECELLDATA_TEXTVIEW_DEFAULT_VERTICAL_INSET : 0;
|
||||
MXKRoomBubbleComponent *component;
|
||||
NSUInteger index = 0;
|
||||
for (; index < bubbleComponents.count; index++)
|
||||
|
||||
Reference in New Issue
Block a user