mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-15 21:37:59 +03:00
[PR #16109] [MERGED] Fix SessionInfoWebSocketListener not using SessionInfoDto #14522
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/jellyfin/jellyfin/pull/16109
Author: @nielsvanvelzen
Created: 1/25/2026
Status: ✅ Merged
Merged: 1/27/2026
Merged by: @nielsvanvelzen
Base:
release-10.11.z← Head:ws-session-info-dto-backport📝 Commits (1)
d41e302Fix SessionInfoWebSocketListener not using SessionInfoDto📊 Changes
3 files changed (+18 additions, -7 deletions)
View changed files
📝
Emby.Server.Implementations/Session/SessionManager.cs(+2 -1)📝
Jellyfin.Api/WebSocketListeners/SessionInfoWebSocketListener.cs(+9 -6)📝
MediaBrowser.Controller/Session/ISessionManager.cs(+7 -0)📄 Description
Changes
Properly map SessionInfo to its DTO equivalent for WebSocket messaging to avoid leaking internal properties. The
SessionsMessagetype already specifies it uses SessionInfoDto so clients should already expect this type, but it wasn't actually used in the server implementation.Found this while researching WebSocket behavior for the TypeScript SDK.
Issues
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.