mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-05-04 06:58:20 +02:00
MXHTTPClient::requestWithMethod has two new blocks to track the upload/download progress.
This commit is contained in:
@@ -371,6 +371,8 @@ NSString* const kCommandsDescriptionText = @"The following commands are availabl
|
||||
_userPicture.enabled = YES;
|
||||
isAvatarUploading = NO;
|
||||
[self handleErrorDuringPictureSaving:error];
|
||||
} uploadProgress:^(NSUInteger bytesWritten, long long totalBytesWritten, long long totalBytesExpectedToWrite) {
|
||||
// need to display the progress ?
|
||||
}];
|
||||
} else {
|
||||
[mxHandler.mxSession.myUser setAvatarUrl:uploadedPictureURL
|
||||
|
||||
Reference in New Issue
Block a user