Skip to content
Snippets Groups Projects
Commit ab8c16d8 authored by Benoit Lavenier's avatar Benoit Lavenier
Browse files

Fix deltion for outbox message

parent ad5b021a
Branches
No related tags found
No related merge requests found
...@@ -128,7 +128,7 @@ public class HistoryService extends AbstractService { ...@@ -128,7 +128,7 @@ public class HistoryService extends AbstractService {
} }
// Special case for message: check if issuer is recipient // Special case for message: check if issuer is recipient
if (MessageService.INDEX.equals(index)) { if (MessageService.INDEX.equals(index) && MessageService.INBOX_TYPE.equals(type)) {
checkSameDocumentField(index, type, id, MessageRecord.PROPERTY_RECIPIENT, issuer); checkSameDocumentField(index, type, id, MessageRecord.PROPERTY_RECIPIENT, issuer);
} }
else { else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment