mirror of
https://github.com/vector-im/element-web.git
synced 2025-10-02 11:01:23 +02:00
Fix regression with OpenID permissions on widgets
This commit is contained in:
parent
6d2dc63e47
commit
bf124c4379
@ -250,7 +250,7 @@ export class StopGapWidget extends EventEmitter {
|
||||
|
||||
// Actually ask for permission to send the user's data
|
||||
Modal.createTrackedDialog("OpenID widget permissions", '', WidgetOpenIDPermissionsDialog, {
|
||||
widgetUrl: rawUrl.substr(0, rawUrl.lastIndexOf("?")),
|
||||
widgetUrl: rawUrl.includes("?") ? rawUrl.substr(0, rawUrl.indexOf("?")) : rawUrl,
|
||||
widgetId: this.widgetId,
|
||||
isUserWidget: this.appTileProps.userWidget,
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user