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:
@@ -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(
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user