2
0
mirror of https://github.com/ComradCollective/Comrad synced 2024-11-03 23:15:33 +00:00
This commit is contained in:
quadrismegistus 2020-09-10 00:30:42 +01:00
parent ff83221037
commit 27d2073bcb

View File

@ -167,13 +167,13 @@ class Operator(Keymaker):
self.log(f'passing msg onto {embedded_recipient} ...')
response = embedded_recipient.route_msg(embedded_msg)
from komrade.backend.messages import Message
if response and type(response)==Message:
response = response.msg_d
# from komrade.backend.messages import Message
# if response and type(response)==Message:
# response = response.msg_d
self.log(f'passed msg onto {embedded_recipient}, got this response: {response} ...')
# otherwise what are we doing?
else:
response = msg_obj.msg_d
response = msg_obj
# ???
return response