Refactoring
This commit is contained in:
@@ -244,7 +244,7 @@ object NostrSingleEventDataSource : NostrDataSource("SingleEventFeed") {
|
|||||||
eventsToWatch.forEach {
|
eventsToWatch.forEach {
|
||||||
val eose = it.lastReactionsDownloadTime[relayUrl]
|
val eose = it.lastReactionsDownloadTime[relayUrl]
|
||||||
if (eose == null) {
|
if (eose == null) {
|
||||||
it.lastReactionsDownloadTime = it.lastReactionsDownloadTime + Pair(relayUrl, EOSETime(time))
|
it.lastReactionsDownloadTime += Pair(relayUrl, EOSETime(time))
|
||||||
} else {
|
} else {
|
||||||
eose.time = time
|
eose.time = time
|
||||||
}
|
}
|
||||||
@@ -253,7 +253,7 @@ object NostrSingleEventDataSource : NostrDataSource("SingleEventFeed") {
|
|||||||
addressesToWatch.forEach {
|
addressesToWatch.forEach {
|
||||||
val eose = it.lastReactionsDownloadTime[relayUrl]
|
val eose = it.lastReactionsDownloadTime[relayUrl]
|
||||||
if (eose == null) {
|
if (eose == null) {
|
||||||
it.lastReactionsDownloadTime = it.lastReactionsDownloadTime + Pair(relayUrl, EOSETime(time))
|
it.lastReactionsDownloadTime += Pair(relayUrl, EOSETime(time))
|
||||||
} else {
|
} else {
|
||||||
eose.time = time
|
eose.time = time
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user