kopia lustrzana https://github.com/vitorpamplona/amethyst
added message to LnZapEvent and interface
rodzic
1ee3dc0ff3
commit
e8e696dcea
|
@ -36,6 +36,10 @@ class LnZapEvent(
|
|||
null
|
||||
}
|
||||
}
|
||||
override fun message(): String {
|
||||
return message
|
||||
}
|
||||
val message = content
|
||||
|
||||
override fun containedPost(): Event? = try {
|
||||
description()?.let {
|
||||
|
|
|
@ -13,4 +13,6 @@ interface LnZapEventInterface : EventInterface {
|
|||
fun amount(): BigDecimal?
|
||||
|
||||
fun containedPost(): Event?
|
||||
|
||||
fun message(): String
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue