From 797f86c698aa3ae031f6cf06d081033c555ad2f6 Mon Sep 17 00:00:00 2001 From: Ben Gotow Date: Wed, 11 Oct 2017 10:08:41 -0700 Subject: [PATCH] Do UTF7=>UTF8 conversion of paths shown in sync progress --- .../notifications/lib/sidebar/initial-sync-activity.jsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/internal_packages/notifications/lib/sidebar/initial-sync-activity.jsx b/app/internal_packages/notifications/lib/sidebar/initial-sync-activity.jsx index efbee5b02..fdd3e52ed 100644 --- a/app/internal_packages/notifications/lib/sidebar/initial-sync-activity.jsx +++ b/app/internal_packages/notifications/lib/sidebar/initial-sync-activity.jsx @@ -1,4 +1,5 @@ import { AccountStore, FolderSyncProgressStore, React } from 'mailspring-exports'; +import utf7 from 'utf7'; export default class InitialSyncActivity extends React.Component { static displayName = 'InitialSyncActivity'; @@ -38,9 +39,11 @@ export default class InitialSyncActivity extends React.Component { } } + const folderDisplayPath = utf7.imap.decode(folderPath); + return (
- {folderPath} {progressLabel} + {folderDisplayPath} {progressLabel}
); }