diff options
| author | Niels van Velzen <git@ndat.nl> | 2020-09-25 09:25:59 +0200 |
|---|---|---|
| committer | Niels van Velzen <git@ndat.nl> | 2020-09-27 10:00:20 +0200 |
| commit | 72534f9d667f2457cbe96ea870d140528e366ba2 (patch) | |
| tree | 023b6974900d57eeae9c4734a22610186486d386 /Emby.Server.Implementations/EntryPoints/UserDataChangeNotifier.cs | |
| parent | 66833b2d6ba46eb948e100b4fc488c7d0c7a8b33 (diff) | |
Use SessionMessageType for WebSocket messages
Diffstat (limited to 'Emby.Server.Implementations/EntryPoints/UserDataChangeNotifier.cs')
| -rw-r--r-- | Emby.Server.Implementations/EntryPoints/UserDataChangeNotifier.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/EntryPoints/UserDataChangeNotifier.cs b/Emby.Server.Implementations/EntryPoints/UserDataChangeNotifier.cs index 3618b88c5..ff09cc81e 100644 --- a/Emby.Server.Implementations/EntryPoints/UserDataChangeNotifier.cs +++ b/Emby.Server.Implementations/EntryPoints/UserDataChangeNotifier.cs @@ -116,7 +116,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) |
