Билд
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
using Knot.Modules.Conversations.Application.Abstractions;
|
||||
using Knot.Modules.Conversations.Infrastructure.SignalR;
|
||||
|
||||
namespace Knot.Modules.Conversations.Infrastructure.Services;
|
||||
|
||||
public sealed class UserStatusService : IUserStatusService
|
||||
{
|
||||
public bool IsUserOnline(string userId)
|
||||
{
|
||||
return ChatHub.IsUserOnline(userId);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user