You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-11-26 17:03:12 +03:00
Lint
This commit is contained in:
@@ -4658,7 +4658,10 @@ function setupCallEventHandler(client) {
|
||||
}
|
||||
// now loop through the buffer chronologically and inject them
|
||||
callEventBuffer.forEach(function(e) {
|
||||
if (e.getType() === "m.call.invite" && ignoreCallIds[e.getContent().call_id]) {
|
||||
if (
|
||||
e.getType() === "m.call.invite" &&
|
||||
ignoreCallIds[e.getContent().call_id]
|
||||
) {
|
||||
// This call has previously been answered or hung up: ignore it
|
||||
return;
|
||||
}
|
||||
@@ -4666,7 +4669,7 @@ function setupCallEventHandler(client) {
|
||||
});
|
||||
callEventBuffer = [];
|
||||
}
|
||||
};
|
||||
}
|
||||
client.on("sync", onSync);
|
||||
|
||||
function onEvent(event) {
|
||||
|
||||
Reference in New Issue
Block a user