Remove MessageReference from local list of MessageReferences when
message is deleted.
This commit is contained in:
parent
a2f4391501
commit
4bec5ea2a3
1 changed files with 1 additions and 2 deletions
|
@ -706,8 +706,7 @@ public class MessageView extends K9Activity implements OnClickListener
|
||||||
|
|
||||||
findSurroundingMessagesUid();
|
findSurroundingMessagesUid();
|
||||||
|
|
||||||
// Remove this message's Uid locally
|
mMessageReferences.remove(mMessageReference);
|
||||||
mMessageReferences.remove(messageToDelete.getUid());
|
|
||||||
|
|
||||||
MessagingController.getInstance(getApplication()).deleteMessages(
|
MessagingController.getInstance(getApplication()).deleteMessages(
|
||||||
new Message[] { messageToDelete },
|
new Message[] { messageToDelete },
|
||||||
|
|
Loading…
Reference in a new issue