powered by Jive Software

Smack-omemo rework #177: OmemoManager purgeDeviceList() clean only server device list but not local database

omemo
smack

#1

aTalk calls OmemoManager#purgeDeviceList() to purge owner unused old devices. It seems that the method only publishes the cleaned list to the server, but without clearing the old data in the local database for the following parameters e.g.:
a. own identity KeyPairs
b. generated prekeys
c. signed prekeys

Please advice if you would consider to include the local database cleanup in the called method or leaving it to the application to implement.


#2

This is intended. I’d consider the application to handle database cleaning.


#3

Thanks for the clarification. I will implement the database clean up in aTalk.


#4

I have implemented the local data cleanup for inactive devices on aTalk.