WIP: Output type redacted event#3445
Conversation
|
|
…an see when it is sent" This reverts commit 4c55d53.
S7evinK
left a comment
There was a problem hiding this comment.
Looks good to me.
There is just one thing we should probably take care of as per this comment: The appservice consumer should ignore m.room.redaction events if they come in through OutputTypeNewRoomEvent. See this. (Though I don't know if that really matters for bridges/appservices, not aware of how they are handled by them.)
Codecov Report❌ Patch coverage is
❌ Your patch status has failed because the patch coverage (0.00%) is below the target coverage (75.00%). You can increase the patch coverage or adjust the target coverage. Additional details and impacted files@@ Coverage Diff @@
## main #3445 +/- ##
==========================================
+ Coverage 49.36% 49.39% +0.03%
==========================================
Files 522 522
Lines 59465 59473 +8
==========================================
+ Hits 29353 29375 +22
+ Misses 26647 26639 -8
+ Partials 3465 3459 -6
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
OK great, I will look at the failing tests then and add one for this. I am not sure I understand your comment (or rather, understand the spec...) because I thought If we add a check for does that resolve it? |
|
I meant that we need this right before this line for this: While we don't do anything with the DB in the appservice consumer, we simply forward the redacted event to the appservice/bridge. |
This patch enables appservices to receive Redaction events.
Pull Request Checklist
Signed-off-by:
Your Name <your@email.example.org>