fixup! fix(player): no file request on start when live
This commit is contained in:
parent
01b7fe3b83
commit
8586aa8f49
1 changed files with 2 additions and 4 deletions
|
|
@ -135,8 +135,6 @@ export default class MessageManager {
|
|||
})
|
||||
|
||||
this.activityManager = new ActivityManager(this.session.duration.milliseconds) // only if not-live
|
||||
|
||||
void this.loadMessages()
|
||||
}
|
||||
|
||||
private setCSSLoading = (cssLoading: boolean) => {
|
||||
|
|
@ -195,7 +193,7 @@ export default class MessageManager {
|
|||
// this.state.update({ filesLoaded: true })
|
||||
}
|
||||
|
||||
private async loadMessages() {
|
||||
async loadMessages() {
|
||||
this.setMessagesLoading(true)
|
||||
// TODO: reuseable decryptor instance
|
||||
const createNewParser = (shouldDecrypt = true) => {
|
||||
|
|
@ -234,7 +232,7 @@ export default class MessageManager {
|
|||
.catch(this.onFileReadFailed)
|
||||
.finally(this.onFileReadFinally);
|
||||
|
||||
// load devtools
|
||||
// load devtools (TODO: start after the first DOM file download)
|
||||
if (this.session.devtoolsURL?.length) {
|
||||
this.state.update({ devtoolsLoading: true })
|
||||
loadFiles(this.session.devtoolsURL, createNewParser())
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue