Implement tasks
This commit is contained in:
@@ -8,6 +8,7 @@ from core.clients.instagram import InstagramClient
|
||||
from core.clients.signal import SignalClient
|
||||
from core.clients.whatsapp import WhatsAppClient
|
||||
from core.clients.xmpp import XMPPClient
|
||||
from core.assist.engine import process_inbound_assist
|
||||
from core.commands.base import CommandContext
|
||||
from core.commands.engine import process_inbound_message
|
||||
from core.messaging import history
|
||||
@@ -122,6 +123,10 @@ class UnifiedRouter(object):
|
||||
await process_inbound_translation(local_message)
|
||||
except Exception as exc:
|
||||
self.log.warning("Translation engine processing failed: %s", exc)
|
||||
try:
|
||||
await process_inbound_assist(local_message)
|
||||
except Exception as exc:
|
||||
self.log.warning("Assist/task processing failed: %s", exc)
|
||||
|
||||
async def _resolve_identifier_objects(self, protocol, identifier):
|
||||
if isinstance(identifier, PersonIdentifier):
|
||||
|
||||
Reference in New Issue
Block a user