No reason to send delivery receipts to ourself
// FREEBIE
This commit is contained in:
parent
856e5eca4c
commit
683c37aca1
|
@ -32,6 +32,10 @@ public class ReceiptSender {
|
|||
throws IOException, NoSuchUserException,
|
||||
NotPushRegisteredException, TransientPushFailureException
|
||||
{
|
||||
if (source.getNumber().equals(destination)) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (relay.isPresent() && !relay.get().isEmpty()) {
|
||||
sendRelayedReceipt(source, destination, messageId, relay.get());
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue