diff options
author | Richard van der Hoff <1389908+richvdh@users.noreply.github.com> | 2019-03-25 16:41:51 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-25 16:41:51 +0000 |
commit | 8cbbedaa2b459ce17a294535b434ad808963bd8f (patch) | |
tree | e953cce66d22ac970bac901f6006c1d01d001192 /synapse/replication/tcp/resource.py | |
parent | Fix bug where read-receipts lost their timestamps (#4927) (diff) | |
download | synapse-8cbbedaa2b459ce17a294535b434ad808963bd8f.tar.xz |
Fix ClientReplicationStreamProtocol.__str__ (#4929)
`__str__` depended on `self.addr`, which was absent from ClientReplicationStreamProtocol, so attempting to call str on such an object would raise an exception. We can calculate the peer addr from the transport, so there is no need for addr anyway.
Diffstat (limited to 'synapse/replication/tcp/resource.py')
-rw-r--r-- | synapse/replication/tcp/resource.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/synapse/replication/tcp/resource.py b/synapse/replication/tcp/resource.py index 47cdf30bd3..7fc346c7b6 100644 --- a/synapse/replication/tcp/resource.py +++ b/synapse/replication/tcp/resource.py @@ -57,7 +57,6 @@ class ReplicationStreamProtocolFactory(Factory): self.server_name, self.clock, self.streamer, - addr ) |