mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-12-15 08:48:53 +00:00
[Glitch] Change AccountRelationshipSeveranceEvent model to store lost followers and following counts separately
Port dfa43707eb to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
@@ -35,7 +35,7 @@ const RelationshipsSeveranceEvent = ({ event, hidden }) => {
|
|||||||
<FormattedMessage
|
<FormattedMessage
|
||||||
id='relationship_severance_notification.relationships'
|
id='relationship_severance_notification.relationships'
|
||||||
defaultMessage='{count, plural, one {# relationship} other {# relationships}}'
|
defaultMessage='{count, plural, one {# relationship} other {# relationships}}'
|
||||||
values={{ count: event.get('relationships_count', 0) }}
|
values={{ count: event.get('followers_count', 0) + event.get('following_count', 0) }}
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
<br />
|
<br />
|
||||||
|
|||||||
Reference in New Issue
Block a user