kopia lustrzana https://github.com/ryukoposting/Signal-Android
Put SMS messages in a separate sending queue.
rodzic
bad382e2f3
commit
e72be42eff
|
@ -237,7 +237,7 @@ public class SmsSendJob extends SendJob {
|
||||||
private static Job.Parameters constructParameters(@NonNull Recipient destination) {
|
private static Job.Parameters constructParameters(@NonNull Recipient destination) {
|
||||||
return new Job.Parameters.Builder()
|
return new Job.Parameters.Builder()
|
||||||
.setMaxAttempts(MAX_ATTEMPTS)
|
.setMaxAttempts(MAX_ATTEMPTS)
|
||||||
.setQueue(destination.getId().toQueueKey())
|
.setQueue(destination.getId().toQueueKey() + "::SMS")
|
||||||
.addConstraint(NetworkOrCellServiceConstraint.KEY)
|
.addConstraint(NetworkOrCellServiceConstraint.KEY)
|
||||||
.build();
|
.build();
|
||||||
}
|
}
|
||||||
|
|
Ładowanie…
Reference in New Issue