mirror of
https://github.com/hexastack/hexabot
synced 2025-06-26 18:27:28 +00:00
Merge pull request #987 from Hexastack/986-issue---fix-message-echo-received-log
fix(api): update message echo received logged value
This commit is contained in:
commit
535020dc68
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user