Archive sessions and generate new registration id on re-register

Fixes #6703
// FREEBIE
This commit is contained in:
Moxie Marlinspike
2017-07-05 13:12:59 -07:00
parent 39b95ca4ed
commit 2c4c0f1349
9 changed files with 39 additions and 52 deletions

View File

@@ -41,6 +41,9 @@ public class SessionUtil {
}
}
}
}
public static void archiveAllSessions(Context context) {
new TextSecureSessionStore(context).archiveAllSessions();
}
}