Include room ID in ignored EDU log messages (#10507)
Signed-off-by: Dagfinn Ilmari Mannsåker <ilmari@ilmari.org>pull/10520/head
parent
42225aa421
commit
dc46f12725
|
@ -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 New Issue