Closed jamesarich closed 1 month ago
Thanks for the effort but the issue here is just a missing setId()
in nodeDB.geUser()
. If you’re up for it, please update the PR. If not, no worries, I should get to it tomorrow.
@andrekir - thank you, i missed that.
fixes #1349
This commit updates the
getUser
function inNodeDB
to set the ID of the user when creating a newUser
object, ensuring that the user ID is always populated.Additionally, it refactors the
Message
class to use the protoUser
object instead of theMeshUser
class. This change simplifies the code and improves consistency by utilizing the proto definition for user information.