mirror of
https://github.com/liamcottle/reticulum-meshchat.git
synced 2026-11-22 16:06:21 -05:00
show existing known peers on page load
This commit is contained in:
parent
262e0b9cad
commit
58da29355b
1 changed files with 10 additions and 0 deletions
|
|
@ -321,6 +321,16 @@
|
|||
}
|
||||
break;
|
||||
}
|
||||
case 'known_peers': {
|
||||
for(const known_peer of json.known_peers){
|
||||
this.peers[known_peer.destination_hash] = {
|
||||
destination_hash: known_peer.destination_hash,
|
||||
app_data: known_peer.app_data,
|
||||
last_announce_timestamp: known_peer.last_announce_timestamp,
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
case 'lxmf.delivery': {
|
||||
|
||||
// add inbound message to ui
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue