From 9ec3bcb3b61c28430974edb80dbb50032a9ee136 Mon Sep 17 00:00:00 2001 From: Ben Komalo Date: Thu, 7 Jul 2011 17:01:28 -0400 Subject: [PATCH] Use the proper server ID for the message. This was accidentally using the server ID of the folder when being fetched. Bug: 5002236 Change-Id: Id0df5fb1d18afd8e0cd05157e8033f08dcf084fe --- src/com/android/email/MessagingController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/android/email/MessagingController.java b/src/com/android/email/MessagingController.java index 9e0b5befc..5cd61d134 100644 --- a/src/com/android/email/MessagingController.java +++ b/src/com/android/email/MessagingController.java @@ -1841,7 +1841,7 @@ public class MessagingController implements Runnable { remoteFolder.open(OpenMode.READ_WRITE); // 3. Set up to download the entire message - Message remoteMessage = remoteFolder.getMessage(remoteServerId); + Message remoteMessage = remoteFolder.getMessage(message.mServerId); FetchProfile fp = new FetchProfile(); fp.add(FetchProfile.Item.BODY); remoteFolder.fetch(new Message[] { remoteMessage }, fp, null);