mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-11 14:30:08 -04:00
Correctly handle receiving 'missing' Pdus from federation, rather than just discarding them.
This commit is contained in:
parent
e639a3516d
commit
59516a8bb1
3 changed files with 18 additions and 13 deletions
|
@ -74,7 +74,9 @@ class FederationTestCase(unittest.TestCase):
|
|||
|
||||
yield self.handlers.federation_handler.on_receive_pdu(pdu, False)
|
||||
|
||||
self.datastore.persist_event.assert_called_once_with(ANY, False)
|
||||
self.datastore.persist_event.assert_called_once_with(
|
||||
ANY, False, is_new_state=False
|
||||
)
|
||||
self.notifier.on_new_room_event.assert_called_once_with(ANY)
|
||||
|
||||
@defer.inlineCallbacks
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue