keychain-uses-objects
quadrismegistus 4 years ago
parent 3b5bfe595b
commit 68f885f642

@ -173,14 +173,12 @@ class Operator(Keymaker):
# route it!
func = getattr(self,route)
new_data = func(**data)
return new_data
# msg_obj.msg = msg_obj.msg_d['msg'] = new_data
msg_obj.msg = msg_obj.msg_d['msg'] = new_data
# try passing it on?
if msg_obj.has_embedded_msg:
new_data = self.route_msg(msg_obj.msg)
return new_data
# msg_obj.msg = msg_obj.msg_d['msg'] = new_data
msg_obj.msg = msg_obj.msg_d['msg'] = new_data
if not new_data:
# end of the line?
@ -188,7 +186,7 @@ class Operator(Keymaker):
# time to turn around and encrypt
# @unsure?
self.log('time to flip msg around and return to sender. v1:',msg_obj,new_data)
self.log('time to flip msg around and return to sender. v1:',msg_obj,new_data,encrypt,msg_obj.route)
new_msg_obj = msg_obj.to_whom.compose_msg_to(
msg=new_data,
another=msg_obj.from_whom

Loading…
Cancel
Save