mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2025-10-08 13:08:24 -04:00
keep 'origin_server_ts' as 'ts' in the database to avoid needlessly updating schema
This commit is contained in:
parent
f5cf7ac25b
commit
82c5820767
8 changed files with 18 additions and 13 deletions
|
@ -99,7 +99,7 @@ class FederationTestCase(unittest.TestCase):
|
|||
origin="red",
|
||||
context="my-context",
|
||||
pdu_type="m.topic",
|
||||
origin_server_ts=123456789000,
|
||||
ts=123456789000,
|
||||
depth=1,
|
||||
is_state=True,
|
||||
content_json='{"topic":"The topic"}',
|
||||
|
@ -134,7 +134,7 @@ class FederationTestCase(unittest.TestCase):
|
|||
origin="red",
|
||||
context="my-context",
|
||||
pdu_type="m.text",
|
||||
origin_server_ts=123456789001,
|
||||
ts=123456789001,
|
||||
depth=1,
|
||||
content_json='{"text":"Here is the message"}',
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue