added message to LnZapEvent and interface

This commit is contained in:
Believethehype
2023-04-02 23:25:37 +02:00
parent 1ee3dc0ff3
commit e8e696dcea
2 changed files with 6 additions and 0 deletions

View File

@@ -36,6 +36,10 @@ class LnZapEvent(
null
}
}
override fun message(): String {
return message
}
val message = content
override fun containedPost(): Event? = try {
description()?.let {

View File

@@ -13,4 +13,6 @@ interface LnZapEventInterface : EventInterface {
fun amount(): BigDecimal?
fun containedPost(): Event?
fun message(): String
}