keys-on-cli
quadrismegistus 4 years ago
parent 2578e98968
commit b7166dec1a

@ -89,7 +89,7 @@ class Message(Logger):
return (self._from_whom,self._to_whom)
alleged_from_whom = self.get_whom(self.from_name)
alleged_to_whom = self.get_whom(self.to_name)
if alleged_to_whom and not self.whom_records_match(alleged_from_whom,alleged_to_whom):
if not self.whom_records_match(alleged_from_whom,alleged_to_whom):
raise KomradeException('Records of from_whoms on The Operator and the from_whom do not match. Something fishy going on?')
else:
self._from_whom = alleged_from_whom

@ -68,9 +68,10 @@ class Persona(Caller):
# ring operator
resp_msg_obj = self.ring_ring(data)
# call from phone since I don't have pubkey on record on Op yet
resp_msg_obj = self.phone.ring_ring(data)
self.log('register got back from op:',resp_msg_obj)
# phone_res = msg_obj.msg
# # URI id

Loading…
Cancel
Save