a tool for shared writing and social publishing

stop listening for profile updates

+10 -10
+10 -10
appview/index.ts
··· 135 135 .eq("uri", evt.uri.toString()); 136 136 } 137 137 } 138 - if (evt.collection === ids.AppBskyActorProfile) { 139 - //only listen to updates because we should fetch it for the first time when they subscribe! 140 - if (evt.event === "update") { 141 - await supabaseServerClient 142 - .from("bsky_profiles") 143 - .update({ record: evt.record as Json }) 144 - .eq("did", evt.did); 145 - } 146 - } 138 + // if (evt.collection === ids.AppBskyActorProfile) { 139 + // //only listen to updates because we should fetch it for the first time when they subscribe! 140 + // if (evt.event === "update") { 141 + // await supabaseServerClient 142 + // .from("bsky_profiles") 143 + // .update({ record: evt.record as Json }) 144 + // .eq("did", evt.did); 145 + // } 146 + // } 147 147 if (evt.collection === "app.bsky.feed.post") { 148 148 if (evt.event !== "create") return; 149 149 ··· 224 224 ids.PubLeafletDocument, 225 225 ids.PubLeafletPublication, 226 226 ids.PubLeafletGraphSubscription, 227 - ids.AppBskyActorProfile, 227 + // ids.AppBskyActorProfile, 228 228 "app.bsky.feed.post", 229 229 ], 230 230 handleEvent: timedHandleEvent,