mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-19 16:19:33 +01:00
Fix possible crash in ProfileKeySendJob if given an invalid threadId.
This commit is contained in:
@@ -144,7 +144,7 @@ final class MessageRequestRepository {
|
||||
RecipientDatabase recipientDatabase = SignalDatabase.recipients();
|
||||
recipientDatabase.setProfileSharing(liveRecipient.getId(), true);
|
||||
|
||||
MessageSender.sendProfileKey(context, threadId);
|
||||
MessageSender.sendProfileKey(threadId);
|
||||
|
||||
List<MessageDatabase.MarkedMessageInfo> messageIds = SignalDatabase.threads().setEntireThreadRead(threadId);
|
||||
ApplicationDependencies.getMessageNotifier().updateNotification(context);
|
||||
|
||||
Reference in New Issue
Block a user