Remove now-unused dispatches
This commit is contained in:
parent
820d9c1c25
commit
b1ec430523
5 changed files with 1 additions and 39 deletions
|
@ -105,15 +105,6 @@ function _setCallListeners(call) {
|
|||
call.hangup();
|
||||
_setCallState(undefined, call.roomId, "ended");
|
||||
});
|
||||
call.on('send_event_error', function(err) {
|
||||
if (err.name === "UnknownDeviceError") {
|
||||
dis.dispatch({
|
||||
action: 'unknown_device_error',
|
||||
err: err,
|
||||
room: MatrixClientPeg.get().getRoom(call.roomId),
|
||||
});
|
||||
}
|
||||
});
|
||||
call.on("hangup", function() {
|
||||
_setCallState(undefined, call.roomId, "ended");
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue