monographs: track view count (#67)

This commit is contained in:
01zulfi authored and GitHub committed 2025-11-06 13:15:23 +05:00
1 parent 55136597aa
commit 294769fd71
4 files changed
+36 -2

No files matched your search

+1
View File
@@ -283,6 +283,7 @@ namespace Notesnook.API.Hubs
SelfDestruct = m.SelfDestruct,
Title = m.Title,
ItemId = m.ItemId ?? m.Id.ToString(),
ViewCount = m.ViewCount
}).ToListAsync();
if (userMonographs.Count > 0 && !await Clients.Caller.SendMonographs(userMonographs).WaitAsync(TimeSpan.FromMinutes(10)))