fix --nousers forced to my recordings by mistake #7624

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

si458 committed Feb 17, 2026 at 16:36 UTC f296c8a0ca497885f54dc6c313104118ca4fc467
2 files changed +2 -2
views/default.handlebars
+1 -1
@@ -18906,7 +18906,7 @@
18906 if ((xxcurrentView == 11) && (desktop != null) && (desktop.m.recordedData != null)) { deskRecordSession(); }
18907
18908 // If we are trying to go to "My Users" and we are not a user manager, move to recordings
18909 - if (((x == 4) && (userinfo != null) && ((userinfo.siteadmin & 2) == 0)) || ((features & 4) != 0)) { x = 52; }
18909 + if (((x == 4) && (userinfo != null) && ((userinfo.siteadmin & 2) == 0)) || ((features & 4) != 0) && (userinfo != null) && (userinfo._id.split('/')[2][0] != '~')) { x = 52; }
18910
18911 // Stop the list graph if active
18912 if (xxcurrentView == 17) deviceDetailsStatsClear();
views/default3.handlebars
+1 -1
@@ -20619,7 +20619,7 @@
20619 if ((xxcurrentView == 11) && (desktop != null) && (desktop.m.recordedData != null)) { deskRecordSession(); }
20620
20621 // If we are trying to go to "My Users" and we are not a user manager, move to recordings
20622 - if (((x == 4) && (userinfo != null) && ((userinfo.siteadmin & 2) == 0)) || ((features & 4) != 0)) { x = 52; }
20622 + if (((x == 4) && (userinfo != null) && ((userinfo.siteadmin & 2) == 0)) || ((features & 4) != 0) && (userinfo != null) && (userinfo._id.split('/')[2][0] != '~')) { x = 52; }
20623
20624 // Stop the list graph if active
20625 if (xxcurrentView == 17) deviceDetailsStatsClear();