diff --git a/src/routes/Chat.tsx b/src/routes/Chat.tsx index 3cd7c663..e579c50a 100644 --- a/src/routes/Chat.tsx +++ b/src/routes/Chat.tsx @@ -131,6 +131,10 @@ function SingleMessage(props: { if (result.value?.cashu_token) { return { type: "cashu", + message_without_invoice: props.dm.message.replace( + result.value.original, + "" + ), from: props.dm.from, value: result.value.cashu_token, amount: result.value.amount_sats @@ -223,6 +227,11 @@ function SingleMessage(props: {
+ +

+ {parsed()?.message_without_invoice} +

+
Cashu Token