add missing upnusers for meshagent again

Signed-off-by: si458 <simonsmith5521@gmail.com>

si458 committed Jan 1, 2026 at 19:33 UTC cfa17f9062c9f0e27c6d45545d97218e751d3a9f
1 file changed +1
meshagent.js
+1
@@ -1944,6 +1944,7 @@ module.exports.CreateMeshAgent = function (parent, db, ws, req, args, domain) {
1944
1945 if ((command.users != null) && (Array.isArray(command.users)) && (device.users != command.users)) { device.users = command.users; change = 1; } // Don't save this to the db.
1946 if ((command.lusers != null) && (Array.isArray(command.lusers)) && (device.lusers != command.lusers)) { device.lusers = command.lusers; change = 1; } // Don't save this to the db.
1947 + if ((command.upnusers != null) && (Array.isArray(command.upnusers)) && (device.upnusers != command.upnusers)) { device.upnusers = command.upnusers; change = 1; } // Don't save this to the db.
1948 if ((mesh.mtype == 2) && (!args.wanonly)) {
1949 // In WAN mode, the hostname of a computer is not important. Don't log hostname changes.
1950 if (device.host != obj.remoteaddr) { device.host = obj.remoteaddr; change = 1; changes.push('host'); }