Update src/mesh/NodeDB.cpp

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Jonathan Bennett 2025-06-25 18:07:02 -05:00 committed by GitHub
parent 8fb1e0f874
commit b1e3353ceb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1343,6 +1343,9 @@ void NodeDB::sortMeshDB()
if (a.num == myNodeInfo.my_node_num) {
return true;
}
if (b.num == myNodeInfo.my_node_num) {
return false;
}
bool aFav = a.is_favorite;
bool bFav = b.is_favorite;
if (aFav != bFav)