mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-22 08:45:23 +03:00
Update SessionController.cs
This commit is contained in:
@@ -323,7 +323,7 @@ namespace Jellyfin.Api.Controllers
|
|||||||
[FromRoute, Required] string sessionId,
|
[FromRoute, Required] string sessionId,
|
||||||
[FromBody, Required] MessageCommand command)
|
[FromBody, Required] MessageCommand command)
|
||||||
{
|
{
|
||||||
if (string.IsNullOrWhiteSpace(command.Header))
|
if (string.IsNullOrWhiteSpace(command.Header))
|
||||||
{
|
{
|
||||||
command.Header = "Message from Server";
|
command.Header = "Message from Server";
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user