Commit 5f0937d3 authored by Rune Jensen's avatar Rune Jensen

Added comment

parent e50c1c47
......@@ -79,6 +79,9 @@ class MessageInteractor(private val messageRepository: MessageRepository,
return messageRepository.save(message.withSyncState(SyncState.DELETE_NOT_SYNCED))
}
/**
* Resets the message syncstate to SYNCED after a user has accepted a failed delete
*/
fun acceptDeleteFailure(message: Message): Single<Boolean> {
return messageRepository.save(message.withSyncState(SyncState.SYNCED))
}
......
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