code quality

This commit is contained in:
Benoit Marty
2019-06-28 10:23:27 +02:00
parent 10353c9871
commit 7187cc23a1
7 changed files with 13 additions and 10 deletions

View File

@ -50,7 +50,7 @@ internal class RoomDecryptorProvider @Inject constructor(
Timber.e("## getRoomDecryptor() : null algorithm")
return null
}
if(roomId != null && roomId.isNotEmpty()) {
if (roomId != null && roomId.isNotEmpty()) {
synchronized(roomDecryptors) {
if (!roomDecryptors.containsKey(roomId)) {
roomDecryptors[roomId] = HashMap()