mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-10-01 08:25:44 -04: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
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:
|
if not is_in_room:
|
||||||
logger.info(
|
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,
|
origin,
|
||||||
)
|
)
|
||||||
continue
|
continue
|
||||||
|
@ -335,7 +335,8 @@ class TypingWriterHandler(FollowerTypingHandler):
|
|||||||
)
|
)
|
||||||
if not is_in_room:
|
if not is_in_room:
|
||||||
logger.info(
|
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,
|
origin,
|
||||||
)
|
)
|
||||||
return
|
return
|
||||||
|
Loading…
Reference in New Issue
Block a user