Skip to content

Commit

Permalink
fix reply threading bug
Browse files Browse the repository at this point in the history
  • Loading branch information
lovvtide committed Jul 17, 2023
1 parent 2287986 commit fb673a5
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion src/modules/Feed.js
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,17 @@ class Feed {

if (!ereply) {

ereply = etags[1] || eroot;
for (let tag of event.tags) {

if (tag[0] === 'e') {
ereply = tag[1];
}
}

if (!ereply) {

ereply = eroot;
}
}

const recent = (
Expand Down

0 comments on commit fb673a5

Please sign in to comment.