bug: zapper pubkey not loading

This commit is contained in:
Kieran 2023-04-04 19:30:34 +01:00
parent 5d23419220
commit 2528232f5e
Signed by: Kieran
GPG Key ID: DE71CEB3925BE941

View File

@ -64,7 +64,7 @@ class UserProfileCache extends FeedCache<MetadataCache> {
})();
console.debug(`Updating ${m.pubkey} ${updateType}`, m);
if (!existing || existing.created < m.created || refresh) {
if (!refresh) {
if (updateType !== "refresh_profile") {
// fetch zapper key
const lnurl = m.lud16 || m.lud06;
if (lnurl) {