mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-09-19 19:21:32 +02:00
Merge pull request #327 from believethehype/main
added message to LnZapEvent and interface
This commit is contained in:
@@ -36,6 +36,10 @@ class LnZapEvent(
|
||||
null
|
||||
}
|
||||
}
|
||||
override fun message(): String {
|
||||
return message
|
||||
}
|
||||
val message = content
|
||||
|
||||
override fun containedPost(): Event? = try {
|
||||
description()?.ifBlank { null }?.let {
|
||||
|
@@ -13,4 +13,6 @@ interface LnZapEventInterface : EventInterface {
|
||||
fun amount(): BigDecimal?
|
||||
|
||||
fun containedPost(): Event?
|
||||
|
||||
fun message(): String
|
||||
}
|
||||
|
Reference in New Issue
Block a user