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