kopia lustrzana https://github.com/vitorpamplona/amethyst
Adds check in main thread to mark as seen on relays
rodzic
ba1f2dc17d
commit
59f7f5257b
|
@ -210,6 +210,8 @@ object NostrAccountDataSource : NostrDataSource("AccountData") {
|
|||
}
|
||||
|
||||
override fun markAsSeenOnRelay(eventId: String, relay: Relay) {
|
||||
checkNotInMainThread()
|
||||
|
||||
super.markAsSeenOnRelay(eventId, relay)
|
||||
|
||||
val note = LocalCache.getNoteIfExists(eventId) ?: return
|
||||
|
|
Ładowanie…
Reference in New Issue