Account for deleted conversations in profile key send job.
This commit is contained in:
parent
3f555ce5e2
commit
b80d460a8f
1 changed files with 2 additions and 1 deletions
|
@ -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<Recipient> destinations = Stream.of(recipients).map(Recipient::resolved).toList();
|
||||
|
|
Loading…
Add table
Reference in a new issue