Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Remove dead code
"roomCollection" is a leftover from Talk < 8.

Signed-off-by: Daniel Calviño Sánchez <[email protected]>
  • Loading branch information
danxuliu committed Jun 12, 2020
commit c7b307b7b14bf6ae86994583b592751b454a39c0
10 changes: 0 additions & 10 deletions src/utils/signaling.js
Original file line number Diff line number Diff line change
Expand Up @@ -973,16 +973,6 @@ Signaling.Standalone.prototype.joinResponseReceived = function(data, token) {

this.pendingJoinCall = null
}
if (this.roomCollection) {
// The list of rooms is not fetched from the server. Update ping
// of joined room so it gets sorted to the top.
this.roomCollection.forEach(function(room) {
if (room.get('token') === token) {
room.set('lastPing', (new Date()).getTime() / 1000)
}
})
this.roomCollection.sort()
}
}

Signaling.Standalone.prototype._doLeaveRoom = function(token) {
Expand Down