deleted unused hub

This commit is contained in:
2026-05-13 20:32:03 +01:00
parent 28d98d9e93
commit c3eed1f45e
-10
View File
@@ -5,21 +5,11 @@ namespace BeReadyBackend.Hubs;
public class GroupHub : Hub
{
public async Task SendProofToGroup(int groupId, string proofUrl)
{
await Clients.Group($"group-{groupId}").SendAsync("ReceiveProof", proofUrl);
}
public async Task SendMessageToGroup(int groupId, string message)
{
await Clients.Group($"group-{groupId}").SendAsync("ReceiveMessage", message);
}
public async Task StartVoteIntoGroup(int groupId)
{
await Clients.Group($"group-{groupId}").SendAsync("StartVote");
}
public override async Task OnConnectedAsync()
{
HttpContext? httpContext = Context.GetHttpContext();