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-14 05:15:09 +01:00
parent 9d999d10d2
commit 221832b5c6

View File

@ -188,7 +188,7 @@ class Message(Logger):
# decrypt msg
# self.log('attempting to decrypt',self.msg,'from',self.from_pubkey,'to',self.to_whom,self.to_whom.keychain(),self.to_whom.assemble(self.to_whom.keychain()))
if not self.to_whom.privkey:
self.log(f'I cannot decrypt this message! I {self} am not {self.to_whom}!')
self.log(f'{self.to_whom} cannot decrypt this message! {dict_format(self.keychain())}!')
return
self.msg = self.msg_d['msg'] = decr_msg_b = SMessage(