Allow Element Call to use MSC4039 (#32755)

* Allow Element Call to use MSC4039

Allow Element Call to use MSC4039 so it can
download avatars if it can't authenticate with the
server directly.

* Test Allowing Element Call to use MSC4039

---------

Co-authored-by: Valere Fedronic <bill.carson@valrsoft.com>
This commit is contained in:
JephDiel 2026-04-01 03:14:16 -05:00 committed by GitHub
parent e2ffaef7c3
commit 3e04b24d1e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 0 deletions

View File

@ -128,6 +128,7 @@ export class ElementWidgetDriver extends WidgetDriver {
this.allowedCapabilities.add(MatrixCapabilities.MSC4157UpdateDelayedEvent);
this.allowedCapabilities.add(MatrixCapabilities.MSC4407SendStickyEvent);
this.allowedCapabilities.add(MatrixCapabilities.MSC4407ReceiveStickyEvent);
this.allowedCapabilities.add(MatrixCapabilities.MSC4039DownloadFile);
this.allowedCapabilities.add(
WidgetEventCapability.forStateEvent(EventDirection.Receive, EventType.RoomName).raw,

View File

@ -134,6 +134,7 @@ describe("ElementWidgetDriver", () => {
"org.matrix.msc4157.update_delayed_event",
"org.matrix.msc4407.send.sticky_event",
"org.matrix.msc4407.receive.sticky_event",
"org.matrix.msc4039.download_file",
// RTC decline events (send/receive, unstable/stable)
"org.matrix.msc2762.send.event:org.matrix.msc4310.rtc.decline",
"org.matrix.msc2762.send.event:m.rtc.decline",