Skip to content
Snippets Groups Projects
Commit 06dd43e5 authored by Oliver Wiese's avatar Oliver Wiese
Browse files

include deltachat

parent bdaa7793
No related branches found
No related tags found
No related merge requests found
Source diff could not be displayed: it is too large. Options to address this: view the blob.
...@@ -257,8 +257,10 @@ class MailHandler { ...@@ -257,8 +257,10 @@ class MailHandler {
} }
} }
if let unenc = ordered[EncryptionType.unknown] { if let unenc = ordered[EncryptionType.unknown] {
builder.textBody = message builder.textBody = message
builder.data
sendData = builder.data() sendData = builder.data()
sendOperation = session.sendOperation(with: sendData, from: userID, recipients: unenc) sendOperation = session.sendOperation(with: sendData, from: userID, recipients: unenc)
//TODO handle different callbacks //TODO handle different callbacks
...@@ -387,9 +389,12 @@ class MailHandler { ...@@ -387,9 +389,12 @@ class MailHandler {
print("Error while fetching mail: \(String(describing: error))") print("Error while fetching mail: \(String(describing: error))")
return return
} }
if let data = parser?.data() { if let data = parser?.data() {
let msgParser = MCOMessageParser(data: data) let msgParser = MCOMessageParser(data: data)
let html: String = msgParser!.plainTextRendering() let html: String = msgParser!.plainTextRendering()
var lineArray = html.components(separatedBy: "\n") var lineArray = html.components(separatedBy: "\n")
......
...@@ -15,3 +15,8 @@ ...@@ -15,3 +15,8 @@
#import "PGPSignaturePacket.h" #import "PGPSignaturePacket.h"
#import "PGPKeyID.h" #import "PGPKeyID.h"
#import "PGPPublicKeyPacket.h" #import "PGPPublicKeyPacket.h"
#import "mrmailbox.h"
#import "mrcmdline.h"
#import "mrtools.h"
#import "stress.h"
#import "mre2ee_driver.h"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment