Commit e192f489 authored by Leonardo Aramaki's avatar Leonardo Aramaki

Remove message from repository when got to blackhole

parent c5bf17ac
......@@ -66,6 +66,7 @@ class MessageService : JobService() {
if (ex is IllegalStateException) {
Timber.d(ex, "Probably a read-only problem...")
// TODO: For now we are only going to reschedule when api is fixed.
messageRepository.removeById(message.id)
jobFinished(params, false)
} else {
// some other error
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment