Skip to content

Manage draft in database

Dalton Durst requested to merge github/fork/lduboeuf/xenial_-_drafttodb into xenial

Created by: lduboeuf

Currently, drafts are stored using Settings. The idea is to reuse existing database and store a message as a draft in the db, so that it can appear in the thread list and manage more easily draft attachments. NB: attachments are only saved in cache, they does not exist anymore after rebooting

To test this feature, https://github.com/ubports/history-service/pull/11 need to be merged or build/deployed before this PR.

It is recommended to backup history db before : adb pull /home/phablet/.local/share/history-service/history.sqlite history.sqlite

screenshot20200211_233316275

Click package available for test here: https://drive.google.com/file/d/1HRbyIjrOSOQXeZ00euIvV8twB4eOTXGq/view?usp=sharing

Merge request reports

Loading