mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-09-24 13:29:55 +02:00
Fixes Copy Text function of DraftEvents
This commit is contained in:
@@ -2318,6 +2318,10 @@ class Account(
|
||||
event.plainContent(signer, onReady)
|
||||
} else if (event is LnZapRequestEvent) {
|
||||
decryptZapContentAuthor(note) { onReady(it.content) }
|
||||
} else if (event is DraftEvent) {
|
||||
event.cachedDraft(signer) {
|
||||
onReady(it.content)
|
||||
}
|
||||
} else {
|
||||
event?.content()?.let { onReady(it) }
|
||||
}
|
||||
|
Reference in New Issue
Block a user