mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-09 11:52:10 -04:00
Explicit federation ack
This commit is contained in:
parent
54fed21c04
commit
4c79a63fd7
3 changed files with 25 additions and 8 deletions
|
@ -235,7 +235,10 @@ class FederationSenderHandler(object):
|
|||
@defer.inlineCallbacks
|
||||
def stream_positions(self):
|
||||
stream_id = yield self.store.get_federation_out_pos("federation")
|
||||
defer.returnValue({"federation": stream_id})
|
||||
defer.returnValue({
|
||||
"federation": stream_id,
|
||||
"federation_ack": stream_id,
|
||||
})
|
||||
|
||||
@defer.inlineCallbacks
|
||||
def process_replication(self, result):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue