AnemoneLabs / unmessage

Privacy enhanced instant messenger
GNU General Public License v3.0
43 stars 7 forks source link

Make `Peer` serializable and remove `PeerInfo` #52

Open felipedau opened 7 years ago

felipedau commented 7 years ago

attrs makes it so easy to serialize classes that I do not think there is a need to use PeerInfo and save it using SQLite. I think that making a filter to serialize the important things and saving them as JSON seems much better. Persistence wouldn't need to be removed, but modified.