mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-21 09:20:19 +01:00
Update zkgroup to v0.8.1
This commit is contained in:
committed by
Greyson Parrelli
parent
8d0acb277c
commit
8d53c2392a
@@ -21,12 +21,20 @@ public final class GroupsV2AuthorizationSignalStoreCache implements GroupsV2Auth
|
||||
|
||||
private static final String TAG = Log.tag(GroupsV2AuthorizationSignalStoreCache.class);
|
||||
|
||||
private static final String KEY = "gv2:auth_token_cache";
|
||||
private static final String PREFIX = "gv2:auth_token_cache";
|
||||
private static final int VERSION = 2;
|
||||
private static final String KEY = PREFIX + ":" + VERSION;
|
||||
|
||||
private final KeyValueStore store;
|
||||
|
||||
GroupsV2AuthorizationSignalStoreCache(KeyValueStore store) {
|
||||
this.store = store;
|
||||
|
||||
if (store.containsKey(PREFIX)) {
|
||||
store.beginWrite()
|
||||
.remove(PREFIX)
|
||||
.commit();
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user