diff --git a/projects/ucap-webmessenger-app/src/app/layouts/messenger/components/messages.component.ts b/projects/ucap-webmessenger-app/src/app/layouts/messenger/components/messages.component.ts
index a837ee28..3ca24a96 100644
--- a/projects/ucap-webmessenger-app/src/app/layouts/messenger/components/messages.component.ts
+++ b/projects/ucap-webmessenger-app/src/app/layouts/messenger/components/messages.component.ts
@@ -360,6 +360,19 @@ export class MessagesComponent implements OnInit, OnDestroy, AfterViewChecked {
break;
case 'REPLAY_TO_ME':
{
+ if (this.loginRes.talkWithMeBotSeq > -1) {
+ this.store.dispatch(
+ EventStore.forward({
+ senderSeq: this.loginRes.userSeq,
+ req: {
+ roomSeq: '-999',
+ eventType: message.type,
+ sentMessage: message.sentMessage
+ },
+ trgtUserSeqs: [this.loginRes.talkWithMeBotSeq]
+ })
+ );
+ }
}
break;
case 'DELETE':
diff --git a/projects/ucap-webmessenger-ui-chat/src/lib/components/messages.component.html b/projects/ucap-webmessenger-ui-chat/src/lib/components/messages.component.html
index bedff092..c211ed7c 100644
--- a/projects/ucap-webmessenger-ui-chat/src/lib/components/messages.component.html
+++ b/projects/ucap-webmessenger-ui-chat/src/lib/components/messages.component.html
@@ -98,6 +98,7 @@
*ngSwitchCase="EventType.MassText"
[message]="message"
(massDetail)="onMassDetail($event)"
+ (contextmenu)="onContextMenuMessage($event, message)"
>