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
Allow picking up calls from the timeline
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
@@ -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 = () => {
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user