feat: add search by nodeid and alias

This commit is contained in:
2026-06-03 18:11:47 +02:00
parent fe4b387a27
commit 4e58681919
8 changed files with 93 additions and 74 deletions
@@ -168,7 +168,9 @@ data class PaymentRecord(
@SerializedName("preimage") val preimage: String?,
@SerializedName("extra") val extra: PaymentExtra?,
// Not from the API — populated only when loaded from Room via toDomain()
val createdAt: Long? = null
val createdAt: Long? = null,
val pubkey: String? = null,
val alias: String? = null
) {
val amountSat: Long get() = kotlin.math.abs(amountMsat) / 1000L
val feeSat: Long get() = kotlin.math.abs(feeMsat) / 1000L