mirror of
https://mau.dev/maunium/synapse.git
synced 2024-11-20 12:24:59 +01:00
Remove debug logging
This commit is contained in:
parent
ddb816cf60
commit
ed877d6585
2 changed files with 0 additions and 12 deletions
|
@ -315,9 +315,6 @@ class FederationHandler(BaseHandler):
|
|||
unfreeze(event.get_pdu_json())
|
||||
)
|
||||
|
||||
logger.info("Builder: %s", builder.get_pdu_json())
|
||||
logger.info("Content: %s", content)
|
||||
|
||||
handled_events = set()
|
||||
|
||||
try:
|
||||
|
@ -328,21 +325,14 @@ class FederationHandler(BaseHandler):
|
|||
if not hasattr(event, "signatures"):
|
||||
builder.signatures = {}
|
||||
|
||||
logger.info("Content befhahs: %s", builder.content)
|
||||
|
||||
add_hashes_and_signatures(
|
||||
builder,
|
||||
self.hs.hostname,
|
||||
self.hs.config.signing_key[0],
|
||||
)
|
||||
|
||||
logger.info("Content aftet hah: %s", builder.content)
|
||||
logger.info("Content pdu json: %s", builder.get_pdu_json())
|
||||
|
||||
new_event = builder.build()
|
||||
|
||||
logger.info("Content after build: %s", new_event.content)
|
||||
|
||||
# Try the host we successfully got a response to /make_join/
|
||||
# request first.
|
||||
try:
|
||||
|
|
|
@ -403,9 +403,7 @@ class RoomMemberHandler(BaseHandler):
|
|||
"membership": Membership.JOIN,
|
||||
"content": content,
|
||||
})
|
||||
logger.info("Before build: %s", builder.get_pdu_json())
|
||||
event, context = yield self._create_new_client_event(builder)
|
||||
logger.info("After build: %s", event.get_dict())
|
||||
|
||||
yield self._do_join(event, context, room_hosts=hosts, do_auth=True)
|
||||
|
||||
|
|
Loading…
Reference in a new issue