using Knot.Contracts.Conversations.Application.Abstractions;
using Knot.Modules.Conversations.Infrastructure.SignalR;

namespace Knot.Modules.Conversations.Infrastructure.Services;

public sealed class UserStatusService : 
    Knot.Contracts.Conversations.Application.Abstractions.IUserStatusService, 
    Knot.Contracts.Conversations.Abstractions.IUserStatusService
{
    public bool IsUserOnline(string userId)
    {
        return ChatHub.IsUserOnline(userId);
    }
}
