mirror of
https://github.com/oxen-io/session-android.git
synced 2025-10-24 15:31:46 +00:00
committed by
Moxie Marlinspike
parent
b40f0ffeb0
commit
4696837f2f
@@ -34,7 +34,7 @@ public abstract class SendJob extends MasterSecretJob {
|
||||
|
||||
@Override
|
||||
public final void onRun(MasterSecret masterSecret) throws Exception {
|
||||
if (!Util.isBuildFresh()) {
|
||||
if (Util.getDaysTillBuildExpiry() <= 0) {
|
||||
throw new TextSecureExpiredException(String.format("TextSecure expired (build %d, now %d)",
|
||||
BuildConfig.BUILD_TIMESTAMP,
|
||||
System.currentTimeMillis()));
|
||||
|
||||
Reference in New Issue
Block a user