Merge "Use the proper server ID for the message."

This commit is contained in:
Ben Komalo 2011-07-07 14:40:06 -07:00 committed by Android (Google) Code Review
commit 46cdd47e83

View File

@ -1871,7 +1871,7 @@ public class MessagingController implements Runnable {
remoteFolder.open(OpenMode.READ_WRITE); remoteFolder.open(OpenMode.READ_WRITE);
// 3. Set up to download the entire message // 3. Set up to download the entire message
Message remoteMessage = remoteFolder.getMessage(remoteServerId); Message remoteMessage = remoteFolder.getMessage(message.mServerId);
FetchProfile fp = new FetchProfile(); FetchProfile fp = new FetchProfile();
fp.add(FetchProfile.Item.BODY); fp.add(FetchProfile.Item.BODY);
remoteFolder.fetch(new Message[] { remoteMessage }, fp, null); remoteFolder.fetch(new Message[] { remoteMessage }, fp, null);