test: accept metadata kwarg in Matrix streaming capture adapter (#58728)

Match main's edit_message signature so the #58728 regression keeps
exercising the progressive-edit path if the consumer passes metadata.

Co-authored-by: Kewe63 <86300262+Kewe63@users.noreply.github.com>
Co-authored-by: ZeroOttantotto <37018931+ZeroOttantotto@users.noreply.github.com>
This commit is contained in:
kshitijk4poor
2026-09-24 17:11:57 +05:30
committed by kshitij
parent 3b3890bb15
commit 792a5c4903

View File

@@ -160,7 +160,7 @@ class MatrixStreamingProgressCaptureAdapter(ProgressCaptureAdapter):
return result
async def edit_message(
self, chat_id, message_id, content, *, finalize: bool = False
self, chat_id, message_id, content, *, finalize: bool = False, metadata=None
) -> SendResult:
self.edits.append(
{