Skip to content

Show correct end call screen when PSTN user is removed from the call#2295

Merged
anjulgarg merged 6 commits intomainfrom
anjulgarg/end-call-screen-pstn
Aug 31, 2022
Merged

Show correct end call screen when PSTN user is removed from the call#2295
anjulgarg merged 6 commits intomainfrom
anjulgarg/end-call-screen-pstn

Conversation

@anjulgarg
Copy link
Copy Markdown
Member

What

  • Sow "You Left the Call" screen when you remove the last PSTN user.
  • Show "You were removed" screen when a PSTN user hangs up the call.

Why

How Tested

Process & policy checklist

  • I have updated the project documentation to reflect my changes if necessary.
  • I have read the CONTRIBUTING documentation.

Is this a breaking change?

  • This change causes current functionality to break.

@github-actions
Copy link
Copy Markdown
Contributor

@anjulgarg anjulgarg enabled auto-merge (squash) August 31, 2022 17:39
const getCallEndReason = (call: CallState): CallEndReasons => {
const remoteParticipantsEndedArray = Array.from(Object.values(call.remoteParticipantsEnded));
/**
* Handle the special case in a PSTN call where removing the last user kicks the caller out of the call.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So PSTN call can't hold the call for just one participant? Every PSTN call needs at least 2 people?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Correct

@github-actions
Copy link
Copy Markdown
Contributor

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Aug 31, 2022

CallWithChat bundle size is increased❗.

  • Current size: 5451616
  • Base size: 5451414
  • Diff size: 202

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Aug 31, 2022

Calling bundle size is increased❗.

  • Current size: 5066928
  • Base size: 5066726
  • Diff size: 202

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Aug 31, 2022

Chat bundle size is increased❗.

  • Current size: 5193184
  • Base size: 5193074
  • Diff size: 110

@github-actions
Copy link
Copy Markdown
Contributor

@anjulgarg anjulgarg merged commit 26ac6ff into main Aug 31, 2022
@anjulgarg anjulgarg deleted the anjulgarg/end-call-screen-pstn branch August 31, 2022 18:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants