mirror of
https://github.com/oxen-io/session-android.git
synced 2025-06-09 09:28:34 +00:00
Account for deleted conversations in profile key send job.
This commit is contained in:
parent
3f555ce5e2
commit
b80d460a8f
@ -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…
x
Reference in New Issue
Block a user