From 2b99f94d13b4ccc80798a98bc303e78254909755 Mon Sep 17 00:00:00 2001 From: William Casarin Date: Mon, 31 Jul 2023 05:19:33 -0700 Subject: [PATCH] profiledb: disable database lookups for now This is causing extremely bad lag in the UI --- damus/Nostr/Profiles.swift | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/damus/Nostr/Profiles.swift b/damus/Nostr/Profiles.swift index cbce11d5..75db2924 100644 --- a/damus/Nostr/Profiles.swift +++ b/damus/Nostr/Profiles.swift @@ -100,7 +100,9 @@ class Profiles { if profile != nil { return true } - + // check memory first + return false + // then disk guard let pull_date = database.get_network_pull_date(id: id) else { return false