From 2cb5bdebb316a0c9273dde2ca1030d3988c81b82 Mon Sep 17 00:00:00 2001 From: Jesse Vincent Date: Thu, 18 Jun 2009 14:54:06 +0000 Subject: [PATCH] Set the MessageId header, rather than Adding it when restoring from the local store. Hopefully, this will fix issue 498 --- src/com/android/email/mail/store/LocalStore.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/android/email/mail/store/LocalStore.java b/src/com/android/email/mail/store/LocalStore.java index c1855f864..d8ae87e79 100644 --- a/src/com/android/email/mail/store/LocalStore.java +++ b/src/com/android/email/mail/store/LocalStore.java @@ -916,7 +916,7 @@ public class LocalStore extends Store implements Serializable { message.setReplyTo(Address.unpack(cursor.getString(9))); message.mAttachmentCount = cursor.getInt(10); message.setInternalDate(new Date(cursor.getLong(11))); - message.addHeader("Message-ID", cursor.getString(12)); + message.setHeader("Message-ID", cursor.getString(12)); } @Override