Fix media not auto-downloading in groups bug.
This commit is contained in:
parent
a3f432dc88
commit
6c2104b84b
1 changed files with 1 additions and 1 deletions
|
@ -94,7 +94,7 @@ public class AttachmentUtil {
|
|||
MessageRecord message = SignalDatabase.messages().getMessageRecord(attachment.getMmsId());
|
||||
|
||||
Recipient fromRecipient = message.getFromRecipient();
|
||||
Recipient toRecipient = message.getToRecipient();
|
||||
Recipient toRecipient = SignalDatabase.threads().getRecipientForThreadId(message.getThreadId());
|
||||
|
||||
if (toRecipient != null && toRecipient.isGroup()) {
|
||||
return toRecipient.isProfileSharing() || isTrustedIndividual(fromRecipient, message);
|
||||
|
|
Loading…
Add table
Reference in a new issue