Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit e21a6d2

Browse files
author
David Robertson
committed
Actually fix bad logging rejecting incoming transactions
1 parent 41cf4c2 commit e21a6d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: synapse/federation/transport/server/federation.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ async def on_PUT(
110110
if issue_8631_logger.isEnabledFor(logging.DEBUG):
111111
DEVICE_UPDATE_EDUS = ["m.device_list_update", "m.signing_key_update"]
112112
device_list_updates = [
113-
edu.content
113+
edu.get("content", {})
114114
for edu in transaction_data.get("edus", [])
115115
if edu.get("edu_type") in DEVICE_UPDATE_EDUS
116116
]

0 commit comments

Comments
 (0)