yaxim-org / yaxim

yaxim - a lean XMPP/Jabber client for Android
https://yaxim.org
GNU General Public License v3.0
486 stars 238 forks source link

Maintain local chat archive #238

Open contrapunctus-1 opened 5 years ago

contrapunctus-1 commented 5 years ago

This comprises the following -

  1. Make chatlog database visible to non-root user
    • optionally, permit exporting to plain text, or better yet, add switch to auto-export periodically
  2. Save received files locally
    • Ideally, when exporting to plain text, replace remote file URLs to local file paths (maybe in the form of Markdown links.)
  3. (Ideally) allow importing logs (from a copy of the database, and/or exported plain text logs + folder containing received files), so a non-root user can migrate from one device to another with all their logs intact.

It would be okay if this were handled by an optional plugin, since this isn't something everyone wants, and would increase the space usage of Yaxim.

ghost commented 4 years ago

You can migrate from one device to another using the built in Android mechanism: "Settings" → "Memory and backups" → "Copy and restore" → "Backup" → "Applications" → "yaxim" → "OK" → "Start copying".