session-foundation / session-ios

A private messenger for iOS.
https://getsession.org
GNU General Public License v3.0
4 stars 3 forks source link

Chat history and contacts lost after device upgrade #132

Closed sclsj closed 1 year ago

sclsj commented 2 years ago

Code of conduct

Describe the bug

After migrating to a new device by making and restoring an encrypted iTunes/Finder backup, all other applications (after re-authentication) works just as before. Session, after entering the recovery phrase, seems to delete the chat history and contacts.

To reproduce

Migrate to a new iOS device.

Screenshots or logs

Smartphone (please complete the following information):

Additional context

This is a big problem if you lost your iPhone, it is stolen/broken, or it is no longer supported by Apple and needs upgrade to newer device.

RyanRory commented 2 years ago

Hi @sclsj , thanks for the feedback! If you use recovery phrase to restore your account, you can only get the latest 14-day chat history from network. All the messages stored on the network have a TTL(time to live) of 14 days.

Regarding the migration, Session should be able to be migrated by the proper iPhone backup including all the data of your previous Session app.