-
Notifications
You must be signed in to change notification settings - Fork 291
feat(thread): compute a thread summary whenever we receive new events #5042
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
Conversation
(put back to draft state, as it was intended to be, but I forgot to click the button before opening the PR.) |
// If there's a bundled relation, but it's not a thread, we can still extract | ||
// without failing. | ||
let mut relations = BundledMessageLikeRelations::new(); | ||
relations.replace = Some(Box::new(f.text_msg("hello wrold!").into_raw())); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hah, it was supposed to be the replacement event for a message that had a typo in it, but of course the typos bot is unhappy with such a test setup krkrkr
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #5042 +/- ##
=======================================
Coverage 85.80% 85.81%
=======================================
Files 332 334 +2
Lines 36195 36276 +81
=======================================
+ Hits 31056 31129 +73
- Misses 5139 5147 +8 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
b2012ba
to
38b43f0
Compare
…d the room are set
This is our own variant of the Ruma `BundledThread`, but with more information that might be relevant to us, and that we can add over time.
38b43f0
to
47b73c7
Compare
47b73c7
to
9610a1d
Compare
Superseded by #5126, which this PR has been split up into, and rejiggered a bit. |
This also contains the minimal scaffolding for storing thread information in a room.
More to come soon:
Part of #5036 (#4869).