Adds check in main thread to mark as seen on relays

pull/676/head
Vitor Pamplona 2023-10-30 14:33:22 -04:00
rodzic ba1f2dc17d
commit 59f7f5257b
1 zmienionych plików z 2 dodań i 0 usunięć

Wyświetl plik

@ -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