mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-08 17:22:14 -04:00
Merge branch 'develop' into event_signing
Conflicts: synapse/federation/replication.py
This commit is contained in:
commit
dc3c2823ac
21 changed files with 101 additions and 849 deletions
|
@ -158,7 +158,7 @@ class FederationTestCase(unittest.TestCase):
|
|||
origin="red",
|
||||
destinations=["remote"],
|
||||
context="my-context",
|
||||
ts=123456789002,
|
||||
origin_server_ts=123456789002,
|
||||
pdu_type="m.test",
|
||||
content={"testing": "content here"},
|
||||
depth=1,
|
||||
|
@ -170,14 +170,14 @@ class FederationTestCase(unittest.TestCase):
|
|||
"remote",
|
||||
path="/_matrix/federation/v1/send/1000000/",
|
||||
data={
|
||||
"ts": 1000000,
|
||||
"origin_server_ts": 1000000,
|
||||
"origin": "test",
|
||||
"pdus": [
|
||||
{
|
||||
"origin": "red",
|
||||
"pdu_id": "abc123def456",
|
||||
"prev_pdus": [],
|
||||
"ts": 123456789002,
|
||||
"origin_server_ts": 123456789002,
|
||||
"context": "my-context",
|
||||
"pdu_type": "m.test",
|
||||
"is_state": False,
|
||||
|
@ -209,7 +209,7 @@ class FederationTestCase(unittest.TestCase):
|
|||
path="/_matrix/federation/v1/send/1000000/",
|
||||
data={
|
||||
"origin": "test",
|
||||
"ts": 1000000,
|
||||
"origin_server_ts": 1000000,
|
||||
"pdus": [],
|
||||
"edus": [
|
||||
{
|
||||
|
@ -236,7 +236,7 @@ class FederationTestCase(unittest.TestCase):
|
|||
"/_matrix/federation/v1/send/1001000/",
|
||||
"""{
|
||||
"origin": "remote",
|
||||
"ts": 1001000,
|
||||
"origin_server_ts": 1001000,
|
||||
"pdus": [],
|
||||
"edus": [
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue