Skip to content

Commit 3e04b24

Browse files
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>
1 parent e2ffaef commit 3e04b24

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

apps/web/src/stores/widgets/ElementWidgetDriver.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ export class ElementWidgetDriver extends WidgetDriver {
128128
this.allowedCapabilities.add(MatrixCapabilities.MSC4157UpdateDelayedEvent);
129129
this.allowedCapabilities.add(MatrixCapabilities.MSC4407SendStickyEvent);
130130
this.allowedCapabilities.add(MatrixCapabilities.MSC4407ReceiveStickyEvent);
131+
this.allowedCapabilities.add(MatrixCapabilities.MSC4039DownloadFile);
131132

132133
this.allowedCapabilities.add(
133134
WidgetEventCapability.forStateEvent(EventDirection.Receive, EventType.RoomName).raw,

apps/web/test/unit-tests/stores/widgets/ElementWidgetDriver-test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@ describe("ElementWidgetDriver", () => {
134134
"org.matrix.msc4157.update_delayed_event",
135135
"org.matrix.msc4407.send.sticky_event",
136136
"org.matrix.msc4407.receive.sticky_event",
137+
"org.matrix.msc4039.download_file",
137138
// RTC decline events (send/receive, unstable/stable)
138139
"org.matrix.msc2762.send.event:org.matrix.msc4310.rtc.decline",
139140
"org.matrix.msc2762.send.event:m.rtc.decline",

0 commit comments

Comments
 (0)