Fix QuickConnect

This commit is contained in:
Bond_009 2021-06-27 18:20:37 +02:00
parent 9405604913
commit 4e80eac5f3

View File

@ -207,7 +207,7 @@ namespace Emby.Server.Implementations.QuickConnect
// Expire stale connection requests // Expire stale connection requests
foreach (var (_, currentRequest) in _currentRequests) foreach (var (_, currentRequest) in _currentRequests)
{ {
if (expireAll || currentRequest.DateAdded > minTime) if (expireAll || currentRequest.DateAdded < minTime)
{ {
var code = currentRequest.Code; var code = currentRequest.Code;
_logger.LogDebug("Removing expired request {Code}", code); _logger.LogDebug("Removing expired request {Code}", code);