-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Fix bug where read-receipts lost their timestamps #4927
Conversation
Make sure that they are sent correctly over the replication stream. Fixes: #4898
@@ -0,0 +1 @@ | |||
Batch up outgoing read-receipts to reduce federation traffic. |
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.
Looks like the wrong description for this PR?
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.
nope, it's deliberately the same as the newsfile for the PR which introduced the bug (#4890, ftr), so that they get merged into one entry in the changelog
Codecov Report
@@ Coverage Diff @@
## develop #4927 +/- ##
===========================================
+ Coverage 60.43% 78.04% +17.6%
===========================================
Files 328 328
Lines 34067 34348 +281
Branches 5620 5708 +88
===========================================
+ Hits 20589 26807 +6218
+ Misses 12002 5913 -6089
- Partials 1476 1628 +152 |
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.
Would be nice if we had a sytest for read receipt timestamps.
Wait, we do, duh. Never mind. |
lolz |
* develop: (141 commits) Make federation endpoints more tolerant of trailing slashes v2 (#4935) Fix ClientReplicationStreamProtocol.__str__ (#4929) Fix bug where read-receipts lost their timestamps (#4927) Use an explicit dbname for postgres connections in the tests. (#4928) Fix nginx example in ACME doc. (#4923) Refactor out state delta handling into its own class (#4917) Newsfile Use yaml safe_load Allow newsfragments to end with exclamation marks! (#4912) Some more porting to HomeserverTestCase and remove old RESTHelper (#4913) Clean up backoff_on_404 and metehod calls Update changelog.d/4908.bugfix Update Apache Setup To Remove Location Syntax (#4870) isort Newsfile Fix typo and add description Deny peeking into rooms that have been blocked Rejig testcase to make it more extensible Remove debug Add tests ...
Make sure that they are sent correctly over the replication stream.
Fixes: #4898