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:
Michael Telatynski
2023-06-06 14:07:51 +00:00
committed by GitHub
parent d340fa8d2a
commit 2e68479577
5 changed files with 69 additions and 6 deletions
+1 -1
View File
@@ -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;
}