Use GMime to display the text/plain portion of email messages: #3710
This makes available MIME portions of the message, although more work will need to be done to expose all MIME parts.
This commit is contained in:
parent
7f293f9a6f
commit
4b03ba004e
12 changed files with 551 additions and 148 deletions
|
|
@ -191,13 +191,13 @@ public class Geary.Sqlite.MessageRow : Geary.Sqlite.Row {
|
|||
}
|
||||
|
||||
if ((fields & Geary.Email.Field.HEADER) != 0) {
|
||||
header = (email.header != null) ? email.header.buffer.to_ascii_string() : null;
|
||||
header = (email.header != null) ? email.header.buffer.to_utf8() : null;
|
||||
|
||||
this.fields = this.fields.set(Geary.Email.Field.HEADER);
|
||||
}
|
||||
|
||||
if ((fields & Geary.Email.Field.BODY) != 0) {
|
||||
body = (email.body != null) ? email.body.buffer.to_ascii_string() : null;
|
||||
body = (email.body != null) ? email.body.buffer.to_utf8() : null;
|
||||
|
||||
this.fields = this.fields.set(Geary.Email.Field.BODY);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue