[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:
Claire 2024-03-22 16:44:31 +01:00
parent c3a128f31e
commit a844a6a577

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 />