Removes more warnings

This commit is contained in:
Vitor Pamplona
2026-05-12 22:05:38 -04:00
parent c51c5f665b
commit 5c39e3c85b
3 changed files with 4 additions and 4 deletions
@@ -612,7 +612,7 @@ class DesktopLocalCache : ICacheProvider {
if (event is AddressableEvent) {
val address = event.address()
val note = getOrCreateAddressableNote(address)
val author = getOrCreateUser(event.pubKey) ?: return false
val author = getOrCreateUser(event.pubKey)
if (note.event == null || (note.event?.createdAt ?: 0) <= event.createdAt) {
note.loadEvent(event, author, emptyList())
return true