mirror of
https://github.com/Govor-team/Govor.git
synced 2026-07-21 11:44:56 +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
294 B
C#
11 lines
294 B
C#
namespace Govor.Contracts.DTOs;
|
|
|
|
public class UserDto
|
|
{
|
|
public Guid Id { get; set; }
|
|
public string Username { get; set; }
|
|
public string Description { get; set; }
|
|
public DateTime WasOnline { get; set; }
|
|
public Guid IconId {get; set;}
|
|
public bool IsOnline { get; set; }
|
|
} |