From eaf937943128b95d82f5c3b916c539730cce942c Mon Sep 17 00:00:00 2001 From: Nikita Konev Date: Sun, 10 Dec 2023 07:30:55 +0400 Subject: [PATCH] TODO --- video/handlers/invite.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/video/handlers/invite.go b/video/handlers/invite.go index 1f8fff04d..226d00301 100644 --- a/video/handlers/invite.go +++ b/video/handlers/invite.go @@ -226,6 +226,8 @@ func (vh *InviteHandler) ProcessRemoveFromCallList(c echo.Context) error { // a) periodically send dto.VideoCallInvitation[true|false] (call particular user to video call) // b) periodically send dto.VideoIsInvitingDto (update progressbar in ChatParticipats.vue) which transforms to dto.VideoDialChanges +// TODO question: how not to overwhelm the system by iterating over all the users and all the chats ? + // TODO come up with an algorithms // run over all rooms, then get room's chats, then get chat's participants // according room's contend and call: