mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-05-04 06:58:20 +02:00
MediaManager refactoring: handle upload with mediaLoader (remove UploadManager).
This commit is contained in:
@@ -20,6 +20,7 @@
|
||||
#import "AppSettings.h"
|
||||
|
||||
NSString *const kRoomMessageLocalPreviewKey = @"kRoomMessageLocalPreviewKey";
|
||||
NSString *const kRoomMessageUploadIdKey = @"kRoomMessageUploadIdKey";
|
||||
|
||||
static NSAttributedString *messageSeparator = nil;
|
||||
|
||||
@@ -91,8 +92,10 @@ static NSAttributedString *messageSeparator = nil;
|
||||
// Not supported yet
|
||||
// _messageType = RoomMessageTypeLocation;
|
||||
}
|
||||
// Retriew local preview url (if any)
|
||||
// Retrieve local preview url (if any)
|
||||
_previewURL = event.content[kRoomMessageLocalPreviewKey];
|
||||
// Retrieve upload id (if any)
|
||||
_uploadId = event.content[kRoomMessageUploadIdKey];
|
||||
}
|
||||
|
||||
// Set first component of the current message
|
||||
|
||||
Reference in New Issue
Block a user