Fix progress bars

Wasn't calling file_list with full_status to get total bytes (won't be
needed after lbrynet DB refactor is merged)
This commit is contained in:
Alex Liebowitz 2017-03-14 12:15:21 -04:00
parent cf3e83ee44
commit 5a0dc0b5c2

View file

@ -429,7 +429,10 @@ lbry._updateSubscribedFileInfo = function(outpoint) {
if (lbry._removedFiles.includes(outpoint)) {
callSubscribedCallbacks(outpoint, false);
} else {
lbry.file_list({outpoint: outpoint}).then(([fileInfo]) => {
lbry.file_list({
outpoint: outpoint,
full_status: true,
}).then(([fileInfo]) => {
if (fileInfo) {
if (this._claimIdOwnershipCache[fileInfo.claim_id] === undefined) {
this._updateClaimOwnershipCache(fileInfo.claim_id);