Remove dead code

This commit is contained in:
Benoit Marty 2024-02-01 18:02:04 +01:00
parent a1140fd8fa
commit e04bfe8981
1 changed files with 1 additions and 1 deletions

View File

@ -664,7 +664,7 @@ internal class RustCryptoService @Inject constructor(
when (event.type) {
EventType.ROOM_KEY -> {
val content = event.getClearContent().toModel<RoomKeyContent>() ?: return@forEach
content.sessionKey
val roomId = content.sessionId ?: return@forEach
val sessionId = content.sessionId