mirror of https://github.com/vector-im/riot-web
Remove unused Element Call capabilities (#9653)
As of 44e22e268420bd4b24a110840e2edaca46653407 in the Element Call repo, Element Call widgets no longer request the capability to start calls.pull/28217/head
parent
4b3705d3f0
commit
d2109de4ca
|
@ -122,9 +122,6 @@ export class StopGapWidgetDriver extends WidgetDriver {
|
||||||
this.allowedCapabilities.add(
|
this.allowedCapabilities.add(
|
||||||
WidgetEventCapability.forStateEvent(EventDirection.Receive, EventType.RoomMember).raw,
|
WidgetEventCapability.forStateEvent(EventDirection.Receive, EventType.RoomMember).raw,
|
||||||
);
|
);
|
||||||
this.allowedCapabilities.add(
|
|
||||||
WidgetEventCapability.forStateEvent(EventDirection.Send, "org.matrix.msc3401.call").raw,
|
|
||||||
);
|
|
||||||
this.allowedCapabilities.add(
|
this.allowedCapabilities.add(
|
||||||
WidgetEventCapability.forStateEvent(EventDirection.Receive, "org.matrix.msc3401.call").raw,
|
WidgetEventCapability.forStateEvent(EventDirection.Receive, "org.matrix.msc3401.call").raw,
|
||||||
);
|
);
|
||||||
|
|
|
@ -69,7 +69,6 @@ describe("StopGapWidgetDriver", () => {
|
||||||
"org.matrix.msc2762.send.event:org.matrix.rageshake_request",
|
"org.matrix.msc2762.send.event:org.matrix.rageshake_request",
|
||||||
"org.matrix.msc2762.receive.event:org.matrix.rageshake_request",
|
"org.matrix.msc2762.receive.event:org.matrix.rageshake_request",
|
||||||
"org.matrix.msc2762.receive.state_event:m.room.member",
|
"org.matrix.msc2762.receive.state_event:m.room.member",
|
||||||
"org.matrix.msc2762.send.state_event:org.matrix.msc3401.call",
|
|
||||||
"org.matrix.msc2762.receive.state_event:org.matrix.msc3401.call",
|
"org.matrix.msc2762.receive.state_event:org.matrix.msc3401.call",
|
||||||
"org.matrix.msc2762.send.state_event:org.matrix.msc3401.call.member#@alice:example.org",
|
"org.matrix.msc2762.send.state_event:org.matrix.msc3401.call.member#@alice:example.org",
|
||||||
"org.matrix.msc2762.receive.state_event:org.matrix.msc3401.call.member",
|
"org.matrix.msc2762.receive.state_event:org.matrix.msc3401.call.member",
|
||||||
|
|
Loading…
Reference in New Issue