commit 2b99f94d13b4ccc80798a98bc303e78254909755
parent 66e204eb91946ef67b1e93e00d33d35f69fb9fed
Author: William Casarin <jb55@jb55.com>
Date: Mon, 31 Jul 2023 05:19:33 -0700
profiledb: disable database lookups for now
This is causing extremely bad lag in the UI
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git 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