Avoids creating User for all awardees of a badge.

pull/287/head
Vitor Pamplona 2023-03-15 13:22:11 -04:00
rodzic a597bd7882
commit 80e251acfb
1 zmienionych plików z 0 dodań i 1 usunięć

Wyświetl plik

@ -270,7 +270,6 @@ object LocalCache {
// Log.d("TN", "New Boost (${notes.size},${users.size}) ${note.author?.toBestDisplayName()} ${formattedDateTime(event.createdAt)}")
val author = getOrCreateUser(event.pubKey)
val awardees = event.awardees().mapNotNull { checkGetOrCreateUser(it) }
val awardDefinition = event.awardDefinition().map { getOrCreateAddressableNote(it) }
note.loadEvent(event, author, awardDefinition)