Thread viewer for Bluesky

renamed loadTimeline method for clarity

+1 -1
api.js
··· 310 310 * @returns {Promise<json[]>} 311 311 */ 312 312 313 - async loadTimeline(days, options = {}) { 313 + async loadHomeTimeline(days, options = {}) { 314 314 let now = new Date(); 315 315 let timeLimit = now.getTime() - days * 86400 * 1000; 316 316
+1 -1
posting_stats_page.js
··· 76 76 let scanInfo = $(this.pageElement.querySelector('.scan-info')); 77 77 scanInfo.style.display = 'none'; 78 78 79 - let items = await accountAPI.loadTimeline(requestedDays, { 79 + let items = await accountAPI.loadHomeTimeline(requestedDays, { 80 80 onPageLoad: (data) => { 81 81 if (this.scanStartTime != startTime) { 82 82 return { cancel: true };
+1 -1
private_search_page.js
··· 72 72 let startTime = new Date().getTime(); 73 73 this.fetchStartTime = startTime; 74 74 75 - let timeline = await accountAPI.loadTimeline(requestedDays, { 75 + let timeline = await accountAPI.loadHomeTimeline(requestedDays, { 76 76 onPageLoad: (data) => { 77 77 if (this.fetchStartTime != startTime) { 78 78 return { cancel: true };