mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 12:26:02 -04:00
Comment and remove spurious logging
This commit is contained in:
parent
1e166470ab
commit
46826bb078
2 changed files with 3 additions and 1 deletions
|
@ -266,6 +266,9 @@ def serialize_event(e, time_now_ms, as_client_event=True,
|
|||
if txn_id is not None:
|
||||
d["unsigned"]["transaction_id"] = txn_id
|
||||
|
||||
# If this is an invite for somebody else, then we don't care about the
|
||||
# invite_room_state as that's meant solely for the invitee. Other clients
|
||||
# will already have the state since they're in the room.
|
||||
if not is_invite:
|
||||
d["unsigned"].pop("invite_room_state", None)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue