2
0

Change AccountRelationshipSeveranceEvent model to store lost followers and following counts separately (#29714)

This commit is contained in:
Claire
2024-03-22 16:44:31 +01:00
committed by GitHub
parent 34f293475e
commit dfa43707eb
7 changed files with 30 additions and 8 deletions

View File

@@ -35,7 +35,7 @@ const RelationshipsSeveranceEvent = ({ event, hidden }) => {
<FormattedMessage
id='relationship_severance_notification.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 />