mirror of
https://github.com/aljazceru/ditto.git
synced 2026-02-02 12:04:19 +01: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:
@@ -39,7 +39,7 @@ function renderTitle(notification: MastodonNotification): string {
|
||||
case 'ditto:name_grant':
|
||||
return `You were granted the name ${notification.name}`;
|
||||
case 'ditto:zap':
|
||||
return `${name} zapped you ${notification.amount} sats`;
|
||||
return `${name} zapped you ${Math.floor(notification.amount / 1000)} sats`;
|
||||
case 'pleroma:emoji_reaction':
|
||||
return `${name} reacted to your post`;
|
||||
case 'favourite':
|
||||
|
||||
Reference in New Issue
Block a user