Persist directory to disk for every user modification

This commit is contained in:
Mark Qvist 2022-09-13 23:13:36 +02:00
parent 6df7feffe6
commit ebfa6484a2
5 changed files with 11 additions and 4 deletions

View file

@ -142,6 +142,9 @@ class Conversation:
self.__changed_callback = None
if not RNS.Transport.has_path(bytes.fromhex(source_hash)):
RNS.Transport.request_path(bytes.fromhex(source_hash))
self.source_identity = RNS.Identity.recall(bytes.fromhex(self.source_hash))
if self.source_identity: