Allow picking up calls from the timeline
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
parent
dac741d8b9
commit
30365ca1ad
2 changed files with 22 additions and 3 deletions
|
@ -35,15 +35,15 @@ export default class CallEventGrouper extends EventEmitter {
|
|||
call: MatrixCall;
|
||||
state: CallEventGrouperState;
|
||||
|
||||
public answerCall() {
|
||||
public answerCall = () => {
|
||||
this.call?.answer();
|
||||
}
|
||||
|
||||
public rejectCall() {
|
||||
public rejectCall = () => {
|
||||
this.call?.reject();
|
||||
}
|
||||
|
||||
public callBack() {
|
||||
public callBack = () => {
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue