mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-24 04:58:45 +00:00
Fix crash in review card repository.
This commit is contained in:
committed by
Cody Henthorne
parent
70378b85d7
commit
f49e2768c1
@@ -60,10 +60,6 @@ class ReviewCardRepository {
|
||||
}
|
||||
|
||||
void block(@NonNull ReviewCard reviewCard, @NonNull Runnable onActionCompleteListener) {
|
||||
if (recipientId == null) {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
SignalExecutors.BOUNDED.execute(() -> {
|
||||
RecipientUtil.blockNonGroup(context, reviewCard.getReviewRecipient());
|
||||
onActionCompleteListener.run();
|
||||
|
||||
Reference in New Issue
Block a user