mirror of
https://github.com/liamcottle/reticulum-meshchat.git
synced 2026-11-20 23:16:21 -05:00
fix display names in network visualiser
This commit is contained in:
parent
ec646d6506
commit
f2a44a1cc6
1 changed files with 2 additions and 2 deletions
|
|
@ -309,7 +309,7 @@ export default {
|
|||
|
||||
if(announce.aspect === "lxmf.delivery"){
|
||||
|
||||
const name = announce.app_data ? atob(announce.app_data) : "Anonymous Peer";
|
||||
const name = announce.display_name;
|
||||
|
||||
node.shape = "circularImage";
|
||||
node.image = entry.hops === 1 ? "/assets/images/network-visualiser/user_1hop.png" : "/assets/images/network-visualiser/user.png";
|
||||
|
|
@ -328,7 +328,7 @@ export default {
|
|||
|
||||
if(announce.aspect === "nomadnetwork.node"){
|
||||
|
||||
const name = announce.app_data ? atob(announce.app_data) : "Anonymous Node";
|
||||
const name = announce.display_name;
|
||||
|
||||
node.shape = "circularImage";
|
||||
node.image = entry.hops === 1 ? "/assets/images/network-visualiser/server_1hop.png" : "/assets/images/network-visualiser/server.png";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue