mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-21 09:02:44 +02:00
Merge pull request #1380 from vector-im/riot_1102
Bug Fix: Add the m.audio attachments support
This commit is contained in:
@@ -220,7 +220,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