Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Fix bug where read-receipts lost their timestamps #4927

Merged
merged 1 commit into from
Mar 25, 2019

Conversation

richvdh
Copy link
Member

@richvdh richvdh commented Mar 25, 2019

Make sure that they are sent correctly over the replication stream.

Fixes: #4898

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.
Copy link
Contributor

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?

Copy link
Member Author

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

@richvdh richvdh requested a review from a team March 25, 2019 15:18
@codecov
Copy link

codecov bot commented Mar 25, 2019

Codecov Report

Merging #4927 into develop will increase coverage by 17.6%.
The diff coverage is 77.77%.

@@             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

Copy link
Member

@erikjohnston erikjohnston left a 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.

@erikjohnston
Copy link
Member

Would be nice if we had a sytest for read receipt timestamps.

Wait, we do, duh. Never mind.

@richvdh
Copy link
Member Author

richvdh commented Mar 25, 2019

lolz

@richvdh richvdh merged commit 9bde730 into develop Mar 25, 2019
@richvdh richvdh deleted the rav/fix_receipts_ts branch March 25, 2019 16:42
anoadragon453 added a commit that referenced this pull request Mar 26, 2019
* 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
  ...
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants