mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-16 06:25:06 -05:00
Remove MessageReference from local list of MessageReferences when
message is deleted.
This commit is contained in:
parent
a2f4391501
commit
4bec5ea2a3
@ -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 },
|
||||
|
Loading…
Reference in New Issue
Block a user