[READ-ONLY] Mirror of https://github.com/improsocial/impro An extensible Bluesky client for web impro.social
6

Configure Feed

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

Remove message API probe

Grace Kind (Jul 10, 2026, 6:56 PM -0500) ea4af41b 6d453480

+5 -9
+1 -1
package.json
··· 1 1 { 2 2 "name": "impro", 3 - "version": "0.17.124", 3 + "version": "0.17.125", 4 4 "type": "module", 5 5 "scripts": { 6 6 "start": "rm -rf \"${BUILD_DIR:-build}\" && NODE_ENV=development eleventy --serve",
+4 -8
src/js/dataLayer/requests.js
··· 869 869 ? "" 870 870 : readCollectionCursor(this.dataStore.$convoMessages, { key: convoId }); 871 871 const res = await this.api.getMessages(convoId, { cursor, limit }); 872 - // Hack - sometimes the first response comes back with a cursor, even though it shouldn't. 873 - // So, let's just make another request to check if it's actually valid. 874 - if (res.cursor) { 875 - const res2 = await this.api.getMessages(convoId, { 872 + if (res.messages.length === 0 && res.cursor) { 873 + console.warn("getMessages returned an empty page with a cursor", { 874 + convoId, 876 875 cursor: res.cursor, 877 - limit: 1, 878 876 }); 879 - if (res2.messages.length === 0) { 880 - res.cursor = null; 881 - } 877 + res.cursor = null; 882 878 } 883 879 // For group convos, convo.members is partial; relatedProfiles carries 884 880 // the authors and system-message subjects for the returned page.