Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify code that chooses a thread ID to include in a receipt #3797

Merged
merged 4 commits into from
Oct 16, 2023

Conversation

andybalaam
Copy link
Contributor

@andybalaam andybalaam commented Oct 13, 2023

As part of investigating element-hq/element-web#26366 I found this code hard to understand, so I extracted it, tested it, and commented it.

It should hopefully be reasonably easy to convince yourself the logic is unchanged if you review commit by commit.

I can well believe that there is a much clearer way to express this - I just expanded the existing logic and would welcome further improvements.


This change is marked as an internal change (Task), so will not be included in the changelog.

@andybalaam andybalaam added this pull request to the merge queue Oct 16, 2023
Merged via the queue into develop with commit 5595e84 Oct 16, 2023
34 checks passed
@andybalaam andybalaam deleted the andybalaam/threadidforreceipt branch October 16, 2023 11:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T-Task Tasks for the team like planning
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants