Put SMS messages in a separate sending queue.

fork-5.53.8
Greyson Parrelli 2021-09-27 15:32:50 -04:00 zatwierdzone przez Cody Henthorne
rodzic bad382e2f3
commit e72be42eff
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -237,7 +237,7 @@ public class SmsSendJob extends SendJob {
private static Job.Parameters constructParameters(@NonNull Recipient destination) {
return new Job.Parameters.Builder()
.setMaxAttempts(MAX_ATTEMPTS)
.setQueue(destination.getId().toQueueKey())
.setQueue(destination.getId().toQueueKey() + "::SMS")
.addConstraint(NetworkOrCellServiceConstraint.KEY)
.build();
}