Trigger an automatic session reset after failing to send a retry receipt.

This commit is contained in:
Greyson Parrelli
2023-03-17 17:35:57 -04:00
parent 166e555d32
commit 834d0a1cee

View File

@@ -101,6 +101,7 @@ public final class SendRetryReceiptJob extends BaseJob {
@Override
public void onFailure() {
ApplicationDependencies.getJobManager().add(new AutomaticSessionResetJob(recipientId, errorMessage.getDeviceId(), System.currentTimeMillis()));
}
public static final class Factory implements Job.Factory<SendRetryReceiptJob> {