기능추가 :: 대화 나에게 전달
This commit is contained in:
parent
9d185862ac
commit
451c013421
|
@ -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':
|
||||
|
|
|
@ -98,6 +98,7 @@
|
|||
*ngSwitchCase="EventType.MassText"
|
||||
[message]="message"
|
||||
(massDetail)="onMassDetail($event)"
|
||||
(contextmenu)="onContextMenuMessage($event, message)"
|
||||
>
|
||||
</ucap-chat-message-box-mass>
|
||||
<ucap-chat-message-box-file
|
||||
|
@ -105,11 +106,13 @@
|
|||
[message]="message"
|
||||
(save)="onSave($event)"
|
||||
(imageViewer)="onImageViewer($event)"
|
||||
(contextmenu)="onContextMenuMessage($event, message)"
|
||||
>
|
||||
</ucap-chat-message-box-file>
|
||||
<ucap-chat-message-box-sticker
|
||||
*ngSwitchCase="EventType.Sticker"
|
||||
[message]="message"
|
||||
(contextmenu)="onContextMenuMessage($event, message)"
|
||||
>
|
||||
</ucap-chat-message-box-sticker>
|
||||
<ucap-chat-message-box-recall
|
||||
|
|
Loading…
Reference in New Issue
Block a user