diff options
author | Florian Dold <florian@dold.me> | 2022-11-11 11:16:01 +0100 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2022-11-11 11:16:01 +0100 |
commit | 9ec34480768fa9709cbee8d4b70118d31b379795 (patch) | |
tree | 8e183db6f5e8e026f8d155582c2c080c4a9f0bcb /packages/taler-wallet-webextension | |
parent | 1fe8967c4387ced59abc9086692c6753a6dab9bd (diff) |
remove deprecated taler://notify-reserve URI handling
Diffstat (limited to 'packages/taler-wallet-webextension')
4 files changed, 0 insertions, 30 deletions
diff --git a/packages/taler-wallet-webextension/src/platform/chrome.ts b/packages/taler-wallet-webextension/src/platform/chrome.ts index 701d14dfa..288119f98 100644 --- a/packages/taler-wallet-webextension/src/platform/chrome.ts +++ b/packages/taler-wallet-webextension/src/platform/chrome.ts @@ -266,11 +266,6 @@ function openWalletURIFromPopup(talerUri: string): void { `static/wallet.html#/cta/transfer/pickup?talerPayPushUri=${talerUri}`, ); break; - case TalerUriType.TalerNotifyReserve: - logger.warn( - `Response with HTTP 402 the Taler header but it is deprecated ${talerUri}`, - ); - break; case TalerUriType.Unknown: logger.warn( `Response with HTTP 402 the Taler header but could not classify ${talerUri}`, diff --git a/packages/taler-wallet-webextension/src/popup/TalerActionFound.tsx b/packages/taler-wallet-webextension/src/popup/TalerActionFound.tsx index 3eccad93e..dc2b8bfae 100644 --- a/packages/taler-wallet-webextension/src/popup/TalerActionFound.tsx +++ b/packages/taler-wallet-webextension/src/popup/TalerActionFound.tsx @@ -87,22 +87,6 @@ export function TalerActionFound({ url, onDismiss }: Props): VNode { </Button> </div> )} - {uriType === TalerUriType.TalerNotifyReserve && ( - <div> - <p> - <i18n.Translate> - This page has a notify reserve action. - </i18n.Translate> - </p> - <Button - variant="contained" - color="success" - onClick={redirectToWallet} - > - <i18n.Translate>Notify</i18n.Translate> - </Button> - </div> - )} {uriType === TalerUriType.TalerRefund && ( <div> <p> diff --git a/packages/taler-wallet-webextension/src/wallet/AddNewActionView.tsx b/packages/taler-wallet-webextension/src/wallet/AddNewActionView.tsx index d9cb8aac5..c704c8085 100644 --- a/packages/taler-wallet-webextension/src/wallet/AddNewActionView.tsx +++ b/packages/taler-wallet-webextension/src/wallet/AddNewActionView.tsx @@ -64,8 +64,6 @@ export function AddNewActionView({ onCancel }: Props): VNode { > {(() => { switch (uriType) { - case TalerUriType.TalerNotifyReserve: - return <i18n.Translate>Open reserve page</i18n.Translate>; case TalerUriType.TalerPay: return <i18n.Translate>Open pay page</i18n.Translate>; case TalerUriType.TalerRefund: diff --git a/packages/taler-wallet-webextension/src/wxBackend.ts b/packages/taler-wallet-webextension/src/wxBackend.ts index 7528457c3..28adfa037 100644 --- a/packages/taler-wallet-webextension/src/wxBackend.ts +++ b/packages/taler-wallet-webextension/src/wxBackend.ts @@ -296,13 +296,6 @@ function parseTalerUriAndRedirect(tabId: number, talerUri: string): void { tabId, `/cta/transfer/recovery?talerBackupUri=${talerUri}`, ); - case TalerUriType.TalerNotifyReserve: - // FIXME: Is this still useful? - // handleNotifyReserve(w); - logger.warn( - `Response with HTTP 402 the Taler header but it is deprecated ${talerUri}`, - ); - break; case TalerUriType.Unknown: logger.warn( `Response with HTTP 402 the Taler header but could not classify ${talerUri}`, |