mirror of
https://github.com/oxen-io/session-android.git
synced 2025-12-03 15:13:50 +00:00
Ignore friend request messages before restoration,
This commit is contained in:
@@ -1220,6 +1220,14 @@ public class TextSecurePreferences {
|
||||
public static boolean needsRevocationCheck(Context context) {
|
||||
return getBooleanPreference(context, "needs_revocation", false);
|
||||
}
|
||||
|
||||
public static void setRestorationTime(Context context, long time) {
|
||||
setLongPreference(context, "restoration_time", time);
|
||||
}
|
||||
|
||||
public static long getRestorationTime(Context context) {
|
||||
return getLongPreference(context, "restoration_time", 0);
|
||||
}
|
||||
// endregion
|
||||
|
||||
public static void clearAll(Context context) {
|
||||
|
||||
Reference in New Issue
Block a user