mirror of
https://github.com/liamcottle/reticulum-meshchat.git
synced 2026-04-28 09:43:13 +00:00
allowing searching peers by destination hash
This commit is contained in:
parent
bf49443005
commit
42768ba7ad
1 changed files with 2 additions and 1 deletions
|
|
@ -1019,7 +1019,8 @@
|
|||
return this.peersOrderedByLatestAnnounce.filter((peer) => {
|
||||
const search = this.peersSearchTerm.toLowerCase();
|
||||
const matchesAppData = (peer.app_data || "").toLowerCase().includes(search);
|
||||
return matchesAppData;
|
||||
const matchesDestinationHash = (peer.destination_hash || "").toLowerCase().includes(search);
|
||||
return matchesAppData || matchesDestinationHash;
|
||||
});
|
||||
},
|
||||
selectedPeerChatItems() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue