Skip to content

fill `myReaction` in more cases - may fix #944

What does this MR do?

This is an alternative to !902 (closed), and it may be simpler.

  • first of all, fetch from the buffer all the notes we may need (including replied-to ones)
  • then, distinguish between "we know there's no myReaction" and "we don't know if there's any myReaction"
  • finally, look at both a note and the note it's replying to

Tested: I see correctly-marked reactions in:

  1. a lone note
  2. a note replying to a note
  3. the reply of 2
  4. a renote of 1
  5. a renote of 2
  6. the reply of 2 when shown via 5

Contribution Guidelines

By submitting this merge request, you agree to follow our Contribution Guidelines

  • I agree to follow this project's Contribution Guidelines
  • I have made sure to test this merge request

Merge request reports

Loading