2
0
mirror of https://github.com/ComradCollective/Comrad synced 2024-11-05 21:20:51 +00:00
This commit is contained in:
quadrismegistus 2020-09-16 15:39:56 +01:00
parent 95010df88f
commit 643ffb1b55

View File

@ -557,11 +557,20 @@ from_komrade = {from_komrade}
# rewrap
inbox = BSEP.join(inbox_l)
print('inboxxx',inbox)
inbox_encr = SMessage(
self.privkey.data,
b64dec(inbox_uri)
).wrap(inbox)
if inbox:
#print('inboxxx',inbox)
inbox = SMessage(
self.privkey.data,
b64dec(inbox_uri)
).wrap(inbox)
# overwrite!
self.crypt_keys.set(
inbox_uri,
inbox,
prefix='/inbox/',
override=True
)
return {
'success':True,