Skip to content

Commit

Permalink
minor optimisation on remote desktop connection.
Browse files Browse the repository at this point in the history
  • Loading branch information
stuartcaunt committed Dec 3, 2024
1 parent 806d681 commit cdae8fe
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public void onConnect(final SocketClient socketClient, final NopSender nopSender
} else {
if (connectedUser.getRole().equals(InstanceMemberRole.SUPPORT)) {
// See if user can connect even if owner is away
if (this.instanceSessionService.canConnectWhileOwnerAway(instance, user.getId())) {
if (this.instanceSessionService.canConnectWhileOwnerAway(instance, user)) {
this.desktopSessionService.createDesktopSessionMember(socketClient, connectedUser, instance);

} else {
Expand Down

0 comments on commit cdae8fe

Please sign in to comment.