You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-11 20:22:36 +03:00
Fix regression with OpenID permissions on widgets
This commit is contained in:
@@ -250,7 +250,7 @@ export class StopGapWidget extends EventEmitter {
|
|||||||
|
|
||||||
// Actually ask for permission to send the user's data
|
// Actually ask for permission to send the user's data
|
||||||
Modal.createTrackedDialog("OpenID widget permissions", '', WidgetOpenIDPermissionsDialog, {
|
Modal.createTrackedDialog("OpenID widget permissions", '', WidgetOpenIDPermissionsDialog, {
|
||||||
widgetUrl: rawUrl.substr(0, rawUrl.lastIndexOf("?")),
|
widgetUrl: rawUrl.includes("?") ? rawUrl.substr(0, rawUrl.indexOf("?")) : rawUrl,
|
||||||
widgetId: this.widgetId,
|
widgetId: this.widgetId,
|
||||||
isUserWidget: this.appTileProps.userWidget,
|
isUserWidget: this.appTileProps.userWidget,
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user