Implement room version 6 (MSC2240). (#7506)

This commit is contained in:
Patrick Cloke 2020-05-15 09:30:10 -04:00 committed by GitHub
parent 02d97fc3ba
commit 08bc80ef09
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 14 additions and 41 deletions

View file

@ -226,7 +226,7 @@ class EventFromPduTestCase(TestCase):
"auth_events": [],
"origin_server_ts": 1234,
},
RoomVersions.STRICT_CANONICALJSON,
RoomVersions.V6,
)
self.assertIsInstance(ev, EventBase)
@ -253,7 +253,7 @@ class EventFromPduTestCase(TestCase):
"auth_events": [],
"origin_server_ts": 1234,
},
RoomVersions.STRICT_CANONICALJSON,
RoomVersions.V6,
)
def test_invalid_nested(self):
@ -270,5 +270,5 @@ class EventFromPduTestCase(TestCase):
"auth_events": [],
"origin_server_ts": 1234,
},
RoomVersions.STRICT_CANONICALJSON,
RoomVersions.V6,
)