mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-21 08:15:28 +03:00
Add dlna headers to static responses
This commit is contained in:
@@ -81,7 +81,8 @@ namespace MediaBrowser.Server.Implementations.WebSocket
|
||||
OnReceive(json);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
private readonly Task _cachedTask = Task.FromResult(true);
|
||||
/// <summary>
|
||||
/// Sends the async.
|
||||
/// </summary>
|
||||
@@ -94,7 +95,7 @@ namespace MediaBrowser.Server.Implementations.WebSocket
|
||||
{
|
||||
UserContext.Send(bytes);
|
||||
|
||||
return Task.FromResult(true);
|
||||
return _cachedTask;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user