1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-08-13 17:03:48 -04:00

Remove MessageReference from local list of MessageReferences when

message is deleted.
This commit is contained in:
Daniel Applebaum 2010-04-24 18:02:45 +00:00
parent a2f4391501
commit 4bec5ea2a3

View File

@ -706,8 +706,7 @@ public class MessageView extends K9Activity implements OnClickListener
findSurroundingMessagesUid();
// Remove this message's Uid locally
mMessageReferences.remove(messageToDelete.getUid());
mMessageReferences.remove(mMessageReference);
MessagingController.getInstance(getApplication()).deleteMessages(
new Message[] { messageToDelete },