mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-26 03:25:53 +03:00
Include room ID in ignored EDU log messages (#10507)
Signed-off-by: Dagfinn Ilmari Mannsåker <ilmari@ilmari.org>
This commit is contained in:
parent
42225aa421
commit
dc46f12725
3 changed files with 5 additions and 2 deletions
1
changelog.d/10507.misc
Normal file
1
changelog.d/10507.misc
Normal file
|
@ -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…
Reference in a new issue