mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
Respond to CR.
// FREEBIE
This commit is contained in:
parent
8258f26aec
commit
004a952bc0
1 changed files with 2 additions and 2 deletions
|
@ -148,6 +148,8 @@ NSUInteger const OWSSendMessageOperationMaxRetries = 4;
|
|||
return;
|
||||
}
|
||||
|
||||
[strongSelf.messageSender saveMessage:strongSelf.message withError:error];
|
||||
|
||||
DDLogDebug(@"%@ failed with error: %@", strongSelf.tag, error);
|
||||
aFailureHandler(error);
|
||||
[strongSelf markAsComplete];
|
||||
|
@ -237,8 +239,6 @@ NSUInteger const OWSSendMessageOperationMaxRetries = 4;
|
|||
} else {
|
||||
DDLogWarn(@"%@ Too many failures. Giving up sending.", self.tag);
|
||||
|
||||
[self.messageSender saveMessage:self.message withError:error];
|
||||
|
||||
self.failureHandler(error);
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue