Merge pull request #987 from Hexastack/986-issue---fix-message-echo-received-log
Some checks are pending
Build and Push Docker API Image / build-and-push (push) Waiting to run
Build and Push Docker Base Image / build-and-push (push) Waiting to run
Build and Push Docker UI Image / build-and-push (push) Waiting to run

fix(api): update message echo received logged value
This commit is contained in:
Med Marrouchi 2025-05-08 19:03:29 +01:00 committed by GitHub
commit 535020dc68
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -215,7 +215,7 @@ export class ChatService {
*/ */
@OnEvent('hook:chatbot:echo') @OnEvent('hook:chatbot:echo')
async handleEchoMessage(event: EventWrapper<any, any>) { async handleEchoMessage(event: EventWrapper<any, any>) {
this.logger.verbose('Message echo received', event._adapter._raw); this.logger.verbose('Message echo received', event._adapter.raw);
const foreignId = event.getRecipientForeignId(); const foreignId = event.getRecipientForeignId();
if (foreignId) { if (foreignId) {