Skip to content

Commit

Permalink
paraphrase TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
nkonev committed Dec 19, 2023
1 parent 8fdc5e6 commit 4a037cd
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion video/handlers/invite.go
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,11 @@ func (vh *InviteHandler) ProcessRemoveFromCallList(c echo.Context) error {
// add status "inviting", "closing"
// when we have "closing" - send "false" all the time empty room exists

// TODO consider removing setting green/red button from ChatView.vue, ChatVideo.vue and move them to event/ mechanism
// TODO get rid of green/red button=true/false setting from ChatView.vue, ChatVideo.vue
// in favor of the following mechanish
// /video in path opens "call management" button group
// during entering on /video - call starts and changes to red button before call actually starts
// during leaving /video - call stops and changes to green button after the actual stop

func (vh *InviteHandler) removeFromCallingList(c echo.Context, chatId int64, userPrincipalDto *auth.AuthResult) int {
behalfUserId, err := vh.dialRedisRepository.GetDialMetadata(c.Request().Context(), chatId)
Expand Down

0 comments on commit 4a037cd

Please sign in to comment.