TF-2305 Fixed getUploadUri and getDownloadUri not working with Cyrus

This commit is contained in:
Florent Azavant
2025-01-17 11:36:14 +01:00
committed by Dat H. Pham
parent c3887b7705
commit 327af38fb0
13 changed files with 333 additions and 163 deletions
@@ -2755,7 +2755,14 @@ class MailboxDashBoardController extends ReloadableController
dispatchAction(SelectionAllEmailAction());
}
String get baseDownloadUrl => sessionCurrent?.getDownloadUrl(jmapUrl: dynamicUrlInterceptors.jmapUrl) ?? '';
String get baseDownloadUrl {
try {
return sessionCurrent?.getDownloadUrl(jmapUrl: dynamicUrlInterceptors.jmapUrl) ?? '';
} catch (e) {
logError('MailboxDashboardController::baseDownloadUrl(): $e');
return '';
}
}
void redirectToInboxAction() {
log('MailboxDashBoardController::redirectToInboxAction:');