diff --git a/app/src/main/java/org/thoughtcrime/securesms/jobs/ProfileKeySendJob.java b/app/src/main/java/org/thoughtcrime/securesms/jobs/ProfileKeySendJob.java index 91f55787d9..4a7238ba51 100644 --- a/app/src/main/java/org/thoughtcrime/securesms/jobs/ProfileKeySendJob.java +++ b/app/src/main/java/org/thoughtcrime/securesms/jobs/ProfileKeySendJob.java @@ -72,7 +72,8 @@ public class ProfileKeySendJob extends BaseJob { Recipient conversationRecipient = DatabaseFactory.getThreadDatabase(context).getRecipientForThreadId(threadId); if (conversationRecipient == null) { - throw new AssertionError("We have a thread but no recipient!"); + Log.w(TAG, "Thread no longer present"); + return; } List destinations = Stream.of(recipients).map(Recipient::resolved).toList();