Skip to content

Commit 7b2b5be

Browse files
committed
Fixed work with attachments using the Outlook provider. | Close #107.
1 parent e5da0ba commit 7b2b5be

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

FlowCrypt/src/main/java/com/flowcrypt/email/api/email/protocol/ImapProtocolUtil.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ public static InputStream getHeaderStream(AccountDao accountDao, IMAPFolder imap
4444

4545
switch (accountDao.getAccountType()) {
4646
case AccountDao.ACCOUNT_TYPE_GOOGLE:
47+
case AccountDao.ACCOUNT_TYPE_OUTLOOK:
4748
section = sectionId + ".MIME";
4849
break;
4950

FlowCrypt/src/main/java/com/flowcrypt/email/database/dao/source/AccountDao.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424

2525
public class AccountDao implements Parcelable {
2626
public static final String ACCOUNT_TYPE_GOOGLE = "com.google";
27+
public static final String ACCOUNT_TYPE_OUTLOOK = "outlook.com";
2728
public static final Creator<AccountDao> CREATOR = new Creator<AccountDao>() {
2829
@Override
2930
public AccountDao createFromParcel(Parcel source) {

0 commit comments

Comments
 (0)