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
fix lint
This commit is contained in:
@@ -1509,7 +1509,8 @@ module.exports = Room;
|
|||||||
* added to the end of the live timeline
|
* added to the end of the live timeline
|
||||||
*
|
*
|
||||||
* @example
|
* @example
|
||||||
* matrixClient.on("Room.timeline", function(event, room, toStartOfTimeline, removed, data){
|
* matrixClient.on("Room.timeline",
|
||||||
|
* function(event, room, toStartOfTimeline, removed, data) {
|
||||||
* if (!toStartOfTimeline && data.liveEvent) {
|
* if (!toStartOfTimeline && data.liveEvent) {
|
||||||
* var messageToAppend = room.timeline.[room.timeline.length - 1];
|
* var messageToAppend = room.timeline.[room.timeline.length - 1];
|
||||||
* }
|
* }
|
||||||
|
|||||||
@@ -74,6 +74,10 @@ MatrixCall.ERR_LOCAL_OFFER_FAILED = "local_offer_failed";
|
|||||||
*/
|
*/
|
||||||
MatrixCall.ERR_NO_USER_MEDIA = "no_user_media";
|
MatrixCall.ERR_NO_USER_MEDIA = "no_user_media";
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Lookup from opaque queue ID to a promise for media element operations that
|
||||||
|
* need to be serialised into a given queue
|
||||||
|
*/
|
||||||
MatrixCall.mediaPromises = {};
|
MatrixCall.mediaPromises = {};
|
||||||
|
|
||||||
utils.inherits(MatrixCall, EventEmitter);
|
utils.inherits(MatrixCall, EventEmitter);
|
||||||
@@ -990,7 +994,7 @@ var _tryPlayRemoteAudioStream = function(self) {
|
|||||||
setTimeout(function() {
|
setTimeout(function() {
|
||||||
var ael = self.getRemoteAudioElement();
|
var ael = self.getRemoteAudioElement();
|
||||||
if (ael.play) {
|
if (ael.play) {
|
||||||
self.playElement(vel, "remoteAudio");
|
self.playElement(ael, "remoteAudio");
|
||||||
}
|
}
|
||||||
// OpenWebRTC does not support oniceconnectionstatechange yet
|
// OpenWebRTC does not support oniceconnectionstatechange yet
|
||||||
if (self.webRtc.isOpenWebRTC()) {
|
if (self.webRtc.isOpenWebRTC()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user