Skip to content

Commit

Permalink
Rename
Browse files Browse the repository at this point in the history
  • Loading branch information
nkonev committed Jan 13, 2024
1 parent 965b280 commit 8d38d23
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion video/handlers/invite.go
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ func (vh *InviteHandler) sendMissedCallNotification(chatId int64, ctx context.Co
}

// send current dial statuses to WebSocket
func (vh *InviteHandler) AskDials(c echo.Context) error {
func (vh *InviteHandler) SendDialStatusChangedToCallOwner(c echo.Context) error {
var userPrincipalDto, ok = c.Get(utils.USER_PRINCIPAL_DTO).(*auth.AuthResult)
if !ok {
Logger.Errorf("Error during getting auth context")
Expand Down
2 changes: 1 addition & 1 deletion video/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ func configureApiEcho(
e.PUT("/video/:id/dial/accept", ih.ProcessRemoveFromCallList) // accepting by invitee
e.PUT("/video/:id/dial/cancel", ih.ProcessRemoveFromCallList) // cancelling by invitee
e.PUT("/video/:id/dial/exit", ih.ProcessAsOwnerLeave) // used by owner
e.PUT("/video/:id/dial/request-for-is-calling", ih.AskDials)
e.PUT("/video/:id/dial/request-for-is-calling", ih.SendDialStatusChangedToCallOwner)

e.PUT("/video/:id/record/start", rh.StartRecording)
e.PUT("/video/:id/record/stop", rh.StopRecording)
Expand Down

0 comments on commit 8d38d23

Please sign in to comment.