diff --git a/injected/src/features/navigator-interface.js b/injected/src/features/navigator-interface.js index 9591a3916..e6f788dba 100644 --- a/injected/src/features/navigator-interface.js +++ b/injected/src/features/navigator-interface.js @@ -36,7 +36,7 @@ export default class NavigatorInterface extends ContentFeature { * @throws {Error} */ createMessageBridge(featureName) { - return createPageWorldBridge(featureName, args.messageSecret); + return createPageWorldBridge(featureName, args.messageSecret || args.messagingConfig.messageSecret); }, }, enumerable: true,