Ignore friend request messages before restoration,

This commit is contained in:
Mikunj
2019-12-05 12:10:29 +11:00
parent fdba9023fc
commit e285ede03d
3 changed files with 17 additions and 0 deletions

View File

@@ -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) {