Include room ID in ignored EDU log messages (#10507)

Signed-off-by: Dagfinn Ilmari Mannsåker <ilmari@ilmari.org>
code_spécifique_watcha
Dagfinn Ilmari Mannsåker 3 years ago committed by GitHub
parent 42225aa421
commit dc46f12725
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      changelog.d/10507.misc
  2. 3
      synapse/handlers/receipts.py
  3. 3
      synapse/handlers/typing.py

@ -0,0 +1 @@
Include room ID in ignored EDU log messages. Contributed by @ilmari.

@ -70,7 +70,8 @@ class ReceiptsHandler(BaseHandler):
)
if not is_in_room:
logger.info(
"Ignoring receipt from %s as we're not in the room",
"Ignoring receipt for room %r from server %s as we're not in the room",
room_id,
origin,
)
continue

@ -335,7 +335,8 @@ class TypingWriterHandler(FollowerTypingHandler):
)
if not is_in_room:
logger.info(
"Ignoring typing update from %s as we're not in the room",
"Ignoring typing update for room %r from server %s as we're not in the room",
room_id,
origin,
)
return

Loading…
Cancel
Save