mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-05-16 20:59:59 +02:00
Merge pull request #1808 from vector-im/ShareExtensionManager_fix_crash
Fix crash in ShareExtensionManager
This commit is contained in:
@@ -221,7 +221,15 @@ typedef NS_ENUM(NSInteger, ImageCompressionMode)
|
||||
{
|
||||
typeof(self) self = weakSelf;
|
||||
itemProvider.isLoaded = YES;
|
||||
[self.pendingImages addObject:imageData];
|
||||
|
||||
if (imageData)
|
||||
{
|
||||
[self.pendingImages addObject:imageData];
|
||||
}
|
||||
else
|
||||
{
|
||||
NSLog(@"[ShareExtensionManager] sendContentToRoom: failed to loadItemForTypeIdentifier. Error: %@", error);
|
||||
}
|
||||
|
||||
if ([self areAttachmentsFullyLoaded])
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user