Skip to content

Commit e238fea

Browse files
authored
Merge pull request element-hq#12585 from vector-im/t3chguy/sso
Fix SSO flows for electron 8.0.2 by re-breaking will-navigate
2 parents 0e37aa9 + 0d9be8c commit e238fea

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎electron_app/src/webcontents-handler.js‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,8 @@ function onEditableContextMenu(ev, params) {
174174

175175
module.exports = (webContents) => {
176176
webContents.on('new-window', onWindowOrNavigate);
177-
webContents.on('will-navigate', onWindowOrNavigate);
177+
// XXX: https://github.com/vector-im/riot-web/issues/8247
178+
// webContents.on('will-navigate', onWindowOrNavigate);
178179

179180
webContents.on('context-menu', function(ev, params) {
180181
if (params.linkURL || params.srcURL) {

0 commit comments

Comments
 (0)