mirror of
https://github.com/element-hq/synapse.git
synced 2026-05-25 18:34:04 +00:00
Remove redundant unsigned.redacted_because
This commit is contained in:
@@ -102,7 +102,6 @@ class EventsWorkerStoreTestCase(BaseWorkerStoreTestCase):
|
||||
msg_dict = msg.get_dict()
|
||||
msg_dict["content"] = {}
|
||||
msg_dict["unsigned"]["redacted_by"] = redaction.event_id
|
||||
msg_dict["unsigned"]["redacted_because"] = redaction
|
||||
redacted = make_event_from_dict(
|
||||
msg_dict, internal_metadata_dict=msg.internal_metadata.get_dict()
|
||||
)
|
||||
@@ -126,7 +125,6 @@ class EventsWorkerStoreTestCase(BaseWorkerStoreTestCase):
|
||||
msg_dict = msg.get_dict()
|
||||
msg_dict["content"] = {}
|
||||
msg_dict["unsigned"]["redacted_by"] = redaction.event_id
|
||||
msg_dict["unsigned"]["redacted_because"] = redaction
|
||||
redacted = make_event_from_dict(
|
||||
msg_dict, internal_metadata_dict=msg.internal_metadata.get_dict()
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user