mirror of
https://github.com/Kpa-clawbot/meshcore-analyzer.git
synced 2026-08-28 15:34:09 +00:00
feat: backfill observer names from ADVERT pubkey cross-reference
This commit is contained in:
@@ -471,6 +471,11 @@ for (const source of mqttSources) {
|
||||
cache.invalidate('node:' + p.pubKey);
|
||||
cache.invalidate('health:' + p.pubKey);
|
||||
cache.invalidate('bulk-health');
|
||||
|
||||
// Cross-reference: if this node's pubkey matches an observer, backfill observer name
|
||||
if (p.name && p.pubKey) {
|
||||
db.updateObserverStatus({ id: p.pubKey, name: p.name });
|
||||
}
|
||||
}
|
||||
|
||||
if (observerId) {
|
||||
|
||||
Reference in New Issue
Block a user