Bug fix on profile placeholder handling
This commit is contained in:
@@ -379,7 +379,7 @@ abstract class NostrDao(
|
||||
|
||||
if (profile == null) {
|
||||
val placeHolderProfile = Profile(
|
||||
publicKey = nostrEvent.pubKey,
|
||||
publicKey = followedHexKEys,
|
||||
createdAt = GENESIS_AT,
|
||||
nostrEventId = nostrEvent.id, // Will get overwriting by sync,
|
||||
)
|
||||
|
||||
@@ -6,6 +6,7 @@ import ac.cord.auxiliary.compose.database.model.intermdiate.LocalProfileWithFoll
|
||||
import ac.cord.auxiliary.compose.database.model.intermdiate.LocalProfileWithFollowing
|
||||
import androidx.room.Dao
|
||||
import androidx.room.Insert
|
||||
import androidx.room.OnConflictStrategy.Companion.IGNORE
|
||||
import androidx.room.Query
|
||||
import androidx.room.Upsert
|
||||
|
||||
|
||||
@@ -34,7 +34,7 @@ object Relays {
|
||||
val nostr1 = RelayUrlNormalizer.normalize("wss://profiles.nostr1.com")
|
||||
|
||||
val bootstrapInboxRelaySet = setOf(damus, primal, mom, nos, bitcoiner, oxtr, yabu)
|
||||
val eventFinderRelaySet = setOf(primal, wine, damus, mom, nos, bitcoiner, oxtr)
|
||||
val eventFinderRelaySet = setOf(wine, damus, mom, primal, nos, bitcoiner, oxtr)
|
||||
val eventPublishRelaySet = setOf(primal, mom, nos, bitcoiner, oxtr)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user