Skip to content

Commit

Permalink
Merge pull request #469 from meshtastic/is_favorite
Browse files Browse the repository at this point in the history
Add is_favorite to NodeInfo/Lite
  • Loading branch information
thebentern authored Mar 21, 2024
2 parents c2439c9 + cb1cef8 commit bcfb49c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions meshtastic/deviceonly.proto
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

/*
Expand Down
6 changes: 6 additions & 0 deletions meshtastic/mesh.proto
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

/*
Expand Down

0 comments on commit bcfb49c

Please sign in to comment.