Merge pull request #469 from meshtastic/is_favorite

Add is_favorite to NodeInfo/Lite
This commit is contained in:
Ben Meadors 2024-03-21 11:30:52 -05:00 committed by GitHub
commit bcfb49c498
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 12 additions and 0 deletions

View file

@ -129,6 +129,12 @@ message NodeInfoLite {
* Number of hops away from us this node is (0 if adjacent)
*/
uint32 hops_away = 9;
/*
* True if node is in our favorites list
* Persists between NodeDB internal clean ups
*/
bool is_favorite = 10;
}
/*

View file

@ -1126,6 +1126,12 @@ message NodeInfo {
* Number of hops away from us this node is (0 if adjacent)
*/
uint32 hops_away = 9;
/*
* True if node is in our favorites list
* Persists between NodeDB internal clean ups
*/
bool is_favorite = 10;
}
/*