diff --git a/BeReadyBackend/Hubs/GroupHub.cs b/BeReadyBackend/Hubs/GroupHub.cs index 9b3a804..44e7b1e 100644 --- a/BeReadyBackend/Hubs/GroupHub.cs +++ b/BeReadyBackend/Hubs/GroupHub.cs @@ -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();