Add config to skip widget_build_url for DM rooms (#11044)
* Add config to skip widget_build_url for DM rooms * Add tests
This commit is contained in:
parent
d340fa8d2a
commit
2e68479577
5 changed files with 69 additions and 6 deletions
|
@ -963,7 +963,7 @@ export default class LegacyCallHandler extends EventEmitter {
|
|||
}
|
||||
|
||||
// We might be using managed hybrid widgets
|
||||
if (isManagedHybridWidgetEnabled()) {
|
||||
if (isManagedHybridWidgetEnabled(roomId)) {
|
||||
await addManagedHybridWidget(roomId);
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue