aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/QuickConnect/QuickConnectManager.cs
diff options
context:
space:
mode:
authorBond-009 <bond.009@outlook.com>2021-06-30 01:05:24 +0200
committerGitHub <noreply@github.com>2021-06-30 01:05:24 +0200
commit1dcf03e33c4f52f6d8a1036510ee57a5d037009a (patch)
tree19c9e97fd2e10137c53614205911896b12911fcb /Emby.Server.Implementations/QuickConnect/QuickConnectManager.cs
parent539dc2ba824ecca806bba2dd4145a423a4b8290c (diff)
parent4e80eac5f36f497925cfe0af4c9fc81684de3f0d (diff)
Merge pull request #6236 from Bond-009/quickconnect
Fix QuickConnect
Diffstat (limited to 'Emby.Server.Implementations/QuickConnect/QuickConnectManager.cs')
-rw-r--r--Emby.Server.Implementations/QuickConnect/QuickConnectManager.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/QuickConnect/QuickConnectManager.cs b/Emby.Server.Implementations/QuickConnect/QuickConnectManager.cs
index 6f9797969..898cbedbb 100644
--- a/Emby.Server.Implementations/QuickConnect/QuickConnectManager.cs
+++ b/Emby.Server.Implementations/QuickConnect/QuickConnectManager.cs
@@ -207,7 +207,7 @@ namespace Emby.Server.Implementations.QuickConnect
// Expire stale connection requests
foreach (var (_, currentRequest) in _currentRequests)
{
- if (expireAll || currentRequest.DateAdded > minTime)
+ if (expireAll || currentRequest.DateAdded < minTime)
{
var code = currentRequest.Code;
_logger.LogDebug("Removing expired request {Code}", code);