small refactoring

This commit is contained in:
Vitor Pamplona
2025-12-16 18:03:26 -05:00
parent 0fb64c5ff7
commit 9069b11036
@@ -109,8 +109,7 @@ class SQLiteEventStore(
if (event.isExpired()) throw SQLiteConstraintException("blocked: Cannot insert an expired event")
if (event.kind.isEphemeral()) return false
val db = writableDatabase
db.transaction {
writableDatabase.transaction {
innerInsertEvent(event, this)
}
return true