aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes/(app)/send
diff options
context:
space:
mode:
Diffstat (limited to 'src/routes/(app)/send')
-rw-r--r--src/routes/(app)/send/[...text]/+page.server.js5
-rw-r--r--src/routes/(app)/send/invoice/[id]/+page.svelte12
2 files changed, 2 insertions, 15 deletions
diff --git a/src/routes/(app)/send/[...text]/+page.server.js b/src/routes/(app)/send/[...text]/+page.server.js
index ef05be16..294dbdd0 100644
--- a/src/routes/(app)/send/[...text]/+page.server.js
+++ b/src/routes/(app)/send/[...text]/+page.server.js
@@ -26,11 +26,6 @@ let parse = async (t, host) => {
} catch (e) {}
}
- if (t.endsWith("@classic")) {
- ({ uuid: id } = await get(`/invoice/classic/${t.replace("@classic", "")}`));
- if (id) redirect(307, `/send/invoice/${id}`);
- }
-
if (t.includes("/fund")) redirect(307, t.substring(t.indexOf("/fund")));
// lightning
diff --git a/src/routes/(app)/send/invoice/[id]/+page.svelte b/src/routes/(app)/send/invoice/[id]/+page.svelte
index dd637d70..6a009918 100644
--- a/src/routes/(app)/send/invoice/[id]/+page.svelte
+++ b/src/routes/(app)/send/invoice/[id]/+page.svelte
@@ -115,17 +115,9 @@
</h1>
<div class="flex p-1 gap-2 justify-center">
- {#if recipient.username.includes("@classic")}
- <img
- src="/images/classic.png"
- class="w-24 border-4 border-transparent mr-1"
- alt="Bitcoin"
- />
- {:else}
- <Avatar user={recipient} size={"20"} />
- {/if}
+ <Avatar user={recipient} size={"20"} />
<p class="text-4xl break-words my-auto">
- {recipient.username.replace("@classic", "")}
+ {recipient.username}
</p>
</div>
</div>