Fixes logging for new events.

This commit is contained in:
Vitor Pamplona
2023-11-22 14:39:01 -05:00
parent 0de4cd5c18
commit 74d66f2035
2 changed files with 2 additions and 2 deletions
@@ -207,7 +207,7 @@ class Relay(
"EVENT" -> {
val event = Event.fromJson(msgArray.get(2))
Log.w("Relay", "Relay onEVENT $url, $channel ${msgArray.get(2)}")
Log.w("Relay", "Relay onEVENT ${event.kind} $url, $channel ${msgArray.get(2)}")
listeners.forEach {
it.onEvent(this@Relay, channel, event)
if (afterEOSE) {
@@ -692,7 +692,7 @@ open class NewPostViewModel() : ViewModel() {
}
fun updateZapPercentage(index: Int, sliderValue: Float) {
forwardZapTo?.updatePercentage(index, sliderValue)
forwardZapTo.updatePercentage(index, sliderValue)
}
}