diff --git a/app/src/main/java/com/vitorpamplona/amethyst/service/NostrAccountDataSource.kt b/app/src/main/java/com/vitorpamplona/amethyst/service/NostrAccountDataSource.kt index eb612c223..efcb57eba 100644 --- a/app/src/main/java/com/vitorpamplona/amethyst/service/NostrAccountDataSource.kt +++ b/app/src/main/java/com/vitorpamplona/amethyst/service/NostrAccountDataSource.kt @@ -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