mirror of
https://github.com/ComradCollective/Comrad
synced 2024-11-03 23:15:33 +00:00
updates
This commit is contained in:
parent
ff83221037
commit
27d2073bcb
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user