mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-04-22 14:34:12 +02:00
fix crash when sending giftwraps with amber
This commit is contained in:
parent
904a50be1f
commit
ece8998ba6
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user