Mirror of https://github.com/improsocial/impro An extensible Bluesky client for web impro.social
5

Configure Feed

Select the types of activity you want to include in your feed.

Remove message fetch guard

Grace Kind (Jul 15, 2026, 7:55 PM -0500) 4895ac23 7949b5ed

+1 -20
+1 -1
package.json
··· 1 1 { 2 2 "name": "impro", 3 - "version": "0.17.171", 3 + "version": "0.17.172", 4 4 "type": "module", 5 5 "scripts": { 6 6 "start": "rm -rf \"${BUILD_DIR:-build}\" && NODE_ENV=development eleventy --serve",
-7
src/js/dataLayer/requests.js
··· 896 896 limit, 897 897 labelers, 898 898 }); 899 - if (res.messages.length === 0 && res.cursor) { 900 - console.warn("getMessages returned an empty page with a cursor", { 901 - convoId, 902 - cursor: res.cursor, 903 - }); 904 - res.cursor = null; 905 - } 906 899 // For group convos, convo.members is partial; relatedProfiles carries 907 900 // the authors and system-message subjects for the returned page. 908 901 if (res.relatedProfiles) {
-12
tests/unit/specs/dataLayer/requests.test.js
··· 1824 1824 assert.deepEqual(stored.messages[1].id, "m2"); 1825 1825 }); 1826 1826 1827 - it("should null out cursor when a page comes back empty with a cursor", async () => { 1828 - const dataStore = new DataStore(); 1829 - const mockApi = { 1830 - getMessages: async () => ({ messages: [], cursor: "fakecursor" }), 1831 - }; 1832 - const requests = makeRequests(mockApi, dataStore); 1833 - 1834 - await requests.loadConvoMessages(convoId); 1835 - 1836 - assert.deepEqual(dataStore.$convoMessages.get(convoId).cursor, null); 1837 - }); 1838 - 1839 1827 it("should reset on reload", async () => { 1840 1828 const dataStore = new DataStore(); 1841 1829 dataStore.$convoMessages.set(convoId, {