0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-09-24 10:38:59 +02:00

Remove unnecessary call to resume producing in fake channel (#17449)

This fell out of the authenticated media work - this bit of code masked
a bug but does not break anything when removed, so probably should be
removed.
This commit is contained in:
Shay 2024-07-16 01:52:39 -07:00 committed by GitHub
parent df11af14db
commit 899d33f2ba
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 1 additions and 4 deletions

1
changelog.d/17449.bugfix Normal file
View file

@ -0,0 +1 @@
Remove unnecessary call to resume producing in fake channel.

View file

@ -289,10 +289,6 @@ class FakeChannel:
self._reactor.run()
while not self.is_finished():
# If there's a producer, tell it to resume producing so we get content
if self._producer:
self._producer.resumeProducing()
if self._reactor.seconds() > end_time:
raise TimedOutException("Timed out waiting for request to finish.")