mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 03:19:46 +00:00
Merge branch 'push-zap-amount' into 'main'
Fix zap amount in web push notification See merge request soapbox-pub/ditto!553
This commit is contained in:
commit
28e8dfb4ac
1 changed files with 1 additions and 1 deletions
|
|
@ -39,7 +39,7 @@ function renderTitle(notification: MastodonNotification): string {
|
||||||
case 'ditto:name_grant':
|
case 'ditto:name_grant':
|
||||||
return `You were granted the name ${notification.name}`;
|
return `You were granted the name ${notification.name}`;
|
||||||
case 'ditto:zap':
|
case 'ditto:zap':
|
||||||
return `${name} zapped you ${notification.amount} sats`;
|
return `${name} zapped you ${Math.floor(notification.amount / 1000)} sats`;
|
||||||
case 'pleroma:emoji_reaction':
|
case 'pleroma:emoji_reaction':
|
||||||
return `${name} reacted to your post`;
|
return `${name} reacted to your post`;
|
||||||
case 'favourite':
|
case 'favourite':
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue