fedimbed: oop

This commit is contained in:
Cynthia Foxwell 2025-04-17 22:24:35 -06:00
parent 9f5ebe42fa
commit 72459f8dc4
Signed by: Cynosphere
SSH key fingerprint: SHA256:H3SM8ufP/uxqLwKSH7xY89TDnbR9uOHzjLoBr0tlajk

View file

@ -946,6 +946,7 @@ async function fetchPost(url, platform, forceMastoAPI = false) {
async function getStatsAS(post) {
// agony
let replyCount = 0;
if (post?.replies?.id)
try {
const selfReplies = await signedFetch(post.replies.id + "?page=true", {
headers: {