mirror of
https://github.com/immense/Remotely.git
synced 2025-10-26 11:27:15 +00:00
Send back notification if client id isn't found.
This commit is contained in:
parent
373960710f
commit
d1757b15c9
@ -166,7 +166,10 @@ namespace Remotely.Server.Services
|
||||
screenCasterID = RCDeviceSocketHub.SessionInfoList.First(x => x.Value.AttendedSessionID == screenCasterID).Value.RCDeviceSocketID;
|
||||
}
|
||||
|
||||
RCDeviceSocketHub.SessionInfoList.TryGetValue(screenCasterID, out var sessionInfo);
|
||||
if (!RCDeviceSocketHub.SessionInfoList.TryGetValue(screenCasterID, out var sessionInfo))
|
||||
{
|
||||
return Clients.Caller.SendAsync("SessionIDNotFound");
|
||||
}
|
||||
|
||||
ScreenCasterID = screenCasterID;
|
||||
RequesterName = requesterName;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user