aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/EntryPoints/UserDataChangeNotifier.cs
diff options
context:
space:
mode:
authorBond-009 <bond.009@outlook.com>2020-10-05 10:40:52 +0200
committerGitHub <noreply@github.com>2020-10-05 10:40:52 +0200
commite011659186cdd008c1c9683fc44f3d26c6e1f0e3 (patch)
tree8fea62a98f3439364c4e09c1bbf6f0bbde0822cd /Emby.Server.Implementations/EntryPoints/UserDataChangeNotifier.cs
parentf1bf21cffdf04372c0b1e7222040d099faf83736 (diff)
parent72534f9d667f2457cbe96ea870d140528e366ba2 (diff)
Merge pull request #4210 from nielsvanvelzen/typed-websocket-message
Use enum for WebSocket message types
Diffstat (limited to 'Emby.Server.Implementations/EntryPoints/UserDataChangeNotifier.cs')
-rw-r--r--Emby.Server.Implementations/EntryPoints/UserDataChangeNotifier.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/EntryPoints/UserDataChangeNotifier.cs b/Emby.Server.Implementations/EntryPoints/UserDataChangeNotifier.cs
index 1da717e75..1989e9ed2 100644
--- a/Emby.Server.Implementations/EntryPoints/UserDataChangeNotifier.cs
+++ b/Emby.Server.Implementations/EntryPoints/UserDataChangeNotifier.cs
@@ -115,7 +115,7 @@ namespace Emby.Server.Implementations.EntryPoints
private Task SendNotifications(Guid userId, List<BaseItem> changedItems, CancellationToken cancellationToken)
{
- return _sessionManager.SendMessageToUserSessions(new List<Guid> { userId }, "UserDataChanged", () => GetUserDataChangeInfo(userId, changedItems), cancellationToken);
+ return _sessionManager.SendMessageToUserSessions(new List<Guid> { userId }, SessionMessageType.UserDataChanged, () => GetUserDataChangeInfo(userId, changedItems), cancellationToken);
}
private UserDataChangeInfo GetUserDataChangeInfo(Guid userId, List<BaseItem> changedItems)