mirror of
https://github.com/Govor-team/Govor.git
synced 2026-07-21 19:54:55 +00:00
31fdf4cb37
Introduced interfaces and services for tracking user online status, including IOnlineUserStore, IUserNotificationScopeService, and IUserPresenceReader. Added PresenceHub for real-time presence updates via SignalR. Updated OnlinePingingController to use new services and return online status and last seen. Extended UserDto with IsOnline property. Updated dependency injection and privacy settings enum. Removed obsolete IUserPresenceService.
11 lines
281 B
C#
11 lines
281 B
C#
using Govor.Application.Interfaces.UserOnlineStatus;
|
|
|
|
namespace Govor.Application.Services.UserOnlineStatus;
|
|
|
|
public class UserPresenceReader : IUserPresenceReader
|
|
{
|
|
public Task<DateTime?> GetLastSeenAsync(Guid userId)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
} |