kopia lustrzana https://github.com/ryukoposting/Signal-Android
Ensure we don't enqueue a ProfileKeySendJob to a v2 group.
rodzic
07bd9ad840
commit
6c7848b750
|
@ -276,7 +276,7 @@ public final class MessageContentProcessor {
|
|||
ApplicationDependencies.getJobManager().startChain(new RefreshAttributesJob(false))
|
||||
.then(GroupV2UpdateSelfProfileKeyJob.withQueueLimits(groupId.get().requireV2()))
|
||||
.enqueue();
|
||||
} else {
|
||||
} else if (!sender.isPushV2Group()) {
|
||||
Log.i(TAG, "Message was to a 1:1 or GV1 chat. Ensuring this user has our profile key.");
|
||||
ApplicationDependencies.getJobManager().startChain(new RefreshAttributesJob(false))
|
||||
.then(ProfileKeySendJob.create(context, DatabaseFactory.getThreadDatabase(context).getThreadIdFor(sender), true))
|
||||
|
|
Ładowanie…
Reference in New Issue