Add a few comments

This commit is contained in:
Benoit Marty 2019-10-22 12:33:25 +02:00
parent b57c71b1c9
commit 3c40f64fb7
1 changed files with 4 additions and 2 deletions

View File

@ -53,8 +53,10 @@ internal class TimelineEventDecryptor(
private var executor: ExecutorService? = null private var executor: ExecutorService? = null
private val existingRequests = HashSet<String>() // Set of eventIds which are currently decrypting
private val unknownSessionsFailure = HashMap<String, MutableList<String>>() private val existingRequests = mutableSetOf<String>()
// sessionId -> list of eventIds
private val unknownSessionsFailure = mutableMapOf<String, MutableList<String>>()
fun start() { fun start() {
executor = Executors.newSingleThreadExecutor() executor = Executors.newSingleThreadExecutor()