adding some debugging to the new reply retrieval
All checks were successful
/ weblog.lol (push) Successful in 9s

This commit is contained in:
Gordon Pedersen 2024-05-23 17:12:07 +10:00
parent 4b0bec8779
commit d512cdc658

View file

@ -120,6 +120,7 @@ class FediSocial extends HTMLElement {
customElements.define('fedi-social', FediSocial) customElements.define('fedi-social', FediSocial)
function renderReplies(status, replies, replyContainer, template) { function renderReplies(status, replies, replyContainer, template) {
console.log(status)
const repliesToThis = replies.filter(d => d.in_reply_to_id == status.id); const repliesToThis = replies.filter(d => d.in_reply_to_id == status.id);
repliesToThis.forEach(reply => { repliesToThis.forEach(reply => {