mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-27 14:40:22 +00:00
Fix media not auto-downloading in groups bug.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user