You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-05 23:10:41 +03:00
Support for getting reject info
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
@@ -74,6 +74,14 @@ export default class CallEventGrouper extends EventEmitter {
|
|||||||
return this.hangup?.getContent()?.reason;
|
return this.hangup?.getContent()?.reason;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public get rejectParty(): string {
|
||||||
|
return this.reject?.getSender();
|
||||||
|
}
|
||||||
|
|
||||||
|
public get gotRejected(): boolean {
|
||||||
|
return Boolean(this.reject);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns true if there are only events from the other side - we missed the call
|
* Returns true if there are only events from the other side - we missed the call
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user