1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-11-29 16:43:09 +03:00

Support m.call.select_answer

Only send one if the answer has a party_id set

Also change some event types to the enum and rename receivedAnswer
to be more consistent
This commit is contained in:
David Baker
2020-10-21 11:52:58 +01:00
parent 9f713781cd
commit 8712703f7c
3 changed files with 57 additions and 15 deletions

View File

@@ -46,6 +46,7 @@ export enum EventType {
CallAnswer = "m.call.answer",
CallHangup = "m.call.hangup",
CallReject = "m.call.reject",
CallSelectAnswer = "m.call.select_answer",
KeyVerificationRequest = "m.key.verification.request",
KeyVerificationStart = "m.key.verification.start",
KeyVerificationCancel = "m.key.verification.cancel",