Fix after rebase

This commit is contained in:
Maxime NATUREL 2023-01-12 10:03:01 +01:00
parent 8b051c5b86
commit 94dd599f13

View file

@ -44,7 +44,8 @@ class PollResponseDataFactory @Inject constructor(
) )
}, },
winnerVoteCount = it.aggregatedContent?.winnerVoteCount ?: 0, winnerVoteCount = it.aggregatedContent?.winnerVoteCount ?: 0,
totalVotes = it.aggregatedContent?.totalVotes ?: 0 totalVotes = it.aggregatedContent?.totalVotes ?: 0,
hasDecryptionError = it.encryptedRelatedEventIds.isNotEmpty(),
) )
} }
} }