almindor / harbour-jTox

Sailfish OS native tox implementation for Jolla
GNU General Public License v3.0
12 stars 4 forks source link

Does not retain contacts #3

Closed 7heo closed 7 years ago

7heo commented 7 years ago

If you add a contact to jTox, and then the application gets killed by SailFish for whatever reason, the contact won't be there when you open jTox again. This is a critical issue.

7heo commented 7 years ago

The same way the contacts are missing, other settings (like the display name) are missing too if the application is preemptively terminated.

almindor commented 7 years ago

This is a bug. I should call tox_save after any change, right now it's called as part of the ToxCore object destructor so it won't get called if the app is terminated in a bad way.