fix FILE_UPLOADED localFile for live photos
This commit is contained in:
parent
96875eaa76
commit
e6c07cf275
1 changed files with 3 additions and 1 deletions
|
@ -361,7 +361,9 @@ class UploadManager {
|
|||
try {
|
||||
eventBus.emit(Events.FILE_UPLOADED, {
|
||||
enteFile: decryptedFile,
|
||||
localFile: fileWithCollection.file,
|
||||
localFile:
|
||||
fileWithCollection.file ??
|
||||
fileWithCollection.livePhotoAssets.image,
|
||||
});
|
||||
} catch (e) {
|
||||
logError(e, 'Error in fileUploaded handlers');
|
||||
|
|
Loading…
Add table
Reference in a new issue