Merge pull request #651 from greenart7c3/test

fix crash when sending giftwraps with amber
This commit is contained in:
Vitor Pamplona
2023-10-18 08:22:55 -04:00
committed by GitHub
@@ -1721,7 +1721,8 @@ class Account(
LocalCache.consume(it, null)
}
val mineNote = LocalCache.getNoteIfExists(mine.first().id)
val id = mine.firstOrNull()?.id
val mineNote = if (id == null) null else LocalCache.getNoteIfExists(id)
signedEvents.wraps.forEach {
// Creates an alias