diff --git a/src/com/fsck/k9/mail/store/WebDavStore.java b/src/com/fsck/k9/mail/store/WebDavStore.java index 8f760dc7c..787e15790 100644 --- a/src/com/fsck/k9/mail/store/WebDavStore.java +++ b/src/com/fsck/k9/mail/store/WebDavStore.java @@ -1587,13 +1587,13 @@ public class WebDavStore extends Store { WebDavMessage wdMessage = (WebDavMessage) messages[i]; if (listener != null) { - listener.messageStarted(messages[i].getUid(), i, count); + listener.messageStarted(wdMessage.getUid(), i, count); } wdMessage.setFlagInternal(Flag.SEEN, uidToReadStatus.get(wdMessage.getUid())); if (listener != null) { - listener.messageFinished(messages[i], i, count); + listener.messageFinished(wdMessage, i, count); } } }