mirror of
https://github.com/element-hq/element-android
synced 2024-11-28 05:31:21 +03:00
Small cleanup
This commit is contained in:
parent
c6bd378104
commit
7b1d313e8e
1 changed files with 1 additions and 1 deletions
|
@ -91,7 +91,7 @@ internal class SendEventWorker(context: Context,
|
|||
if (/*currentAttemptCount >= MAX_NUMBER_OF_RETRY_BEFORE_FAILING ||**/ !exception.shouldBeRetried()) {
|
||||
Timber.e("## SendEvent: [${System.currentTimeMillis()}] Send event Failed cannot retry ${params.eventId} > ${exception.localizedMessage}")
|
||||
localEchoRepository.updateSendState(event.eventId, event.roomId, SendState.UNDELIVERED)
|
||||
return Result.success()
|
||||
Result.success()
|
||||
} else {
|
||||
Timber.e("## SendEvent: [${System.currentTimeMillis()}] Send event Failed schedule retry ${params.eventId} > ${exception.localizedMessage}")
|
||||
Result.retry()
|
||||
|
|
Loading…
Reference in a new issue