mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-17 15:09:31 +02:00
Run uploadVideo on main thread
This commit is contained in:
@@ -8095,7 +8095,9 @@ static CGSize kThreadListBarButtonItemImageSize;
|
||||
// First make a copy of the video in the temp directory because the video at videoURL
|
||||
// is a copy by the iOS photo picker and will be dismissed when this completion block ends
|
||||
NSURL *videoCopy = [self makeVideoCopy:videoURL];
|
||||
[self uploadVideo:videoCopy];
|
||||
dispatch_async(dispatch_get_main_queue(), ^{
|
||||
[self uploadVideo:videoCopy];
|
||||
});
|
||||
}
|
||||
}];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user