kopia lustrzana https://github.com/ryukoposting/Signal-Android
rodzic
1a80cb7c42
commit
60e366e98a
|
@ -101,8 +101,8 @@ public class MultiDeviceMessageRequestResponseJob extends BaseJob {
|
||||||
SignalServiceMessageSender messageSender = ApplicationDependencies.getSignalServiceMessageSender();
|
SignalServiceMessageSender messageSender = ApplicationDependencies.getSignalServiceMessageSender();
|
||||||
Recipient recipient = Recipient.resolved(threadRecipient);
|
Recipient recipient = Recipient.resolved(threadRecipient);
|
||||||
|
|
||||||
if (!recipient.hasServiceId()) {
|
if (!recipient.isGroup() && !recipient.hasServiceId()) {
|
||||||
Log.i(TAG, "Queued for recipient without ServiceId");
|
Log.i(TAG, "Queued for non-group recipient without ServiceId");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1102,7 +1102,7 @@ public final class MessageContentProcessor {
|
||||||
if (response.getPerson().isPresent()) {
|
if (response.getPerson().isPresent()) {
|
||||||
recipient = Recipient.externalPush(response.getPerson().get());
|
recipient = Recipient.externalPush(response.getPerson().get());
|
||||||
} else if (response.getGroupId().isPresent()) {
|
} else if (response.getGroupId().isPresent()) {
|
||||||
GroupId groupId = GroupId.v1(response.getGroupId().get());
|
GroupId groupId = GroupId.push(response.getGroupId().get());
|
||||||
recipient = Recipient.externalPossiblyMigratedGroup(groupId);
|
recipient = Recipient.externalPossiblyMigratedGroup(groupId);
|
||||||
} else {
|
} else {
|
||||||
warn("Message request response was missing a thread recipient! Skipping.");
|
warn("Message request response was missing a thread recipient! Skipping.");
|
||||||
|
|
Ładowanie…
Reference in New Issue