bugfix :: tms 알림, 코끼리 알림, 화상회의 알림 메시징 처리.

This commit is contained in:
leejinho 2020-02-12 11:04:42 +09:00
parent 01fef0930e
commit 3d7051446b
2 changed files with 33 additions and 5 deletions

View File

@ -45,7 +45,7 @@
</li>
</ul>
<div class="btn-box">
<!-- <div class="btn-box">
<ul>
<li>
<button mat-button (click)="onClickDetailView()">
@ -58,5 +58,5 @@
</button>
</li>
</ul>
</div>
</div> -->
</div>

View File

@ -6,7 +6,9 @@ import {
TranslationEventJson,
MassTranslationEventJson,
PlanEventJson,
PlanContentType
PlanContentType,
VideoConferenceEventJson,
VideoConferenceContentsType
} from '@ucap-webmessenger/protocol-event';
import { FileType } from '@ucap-webmessenger/protocol-file';
@ -191,7 +193,24 @@ export class StringUtil {
break;
case EventType.VideoConference:
{
const m = finalEventMessage as VideoConferenceEventJson;
switch (m.contents) {
case VideoConferenceContentsType.Now:
eventMessage = '화상회의가 개설되었습니다.';
break;
case VideoConferenceContentsType.New:
eventMessage = '화상회의가 등록되었습니다.';
break;
case VideoConferenceContentsType.Update:
eventMessage = '화상회의가 수정되었습니다.';
break;
case VideoConferenceContentsType.Delete:
eventMessage = '화상회의가 취소되었습니다.';
break;
default:
eventMessage = '화상회의';
break;
}
}
break;
case EventType.MassText:
@ -235,10 +254,19 @@ export class StringUtil {
{
const m = finalEventMessage as string;
eventMessage = `${m}님이 대화내용을 캡쳐하였습니다.`;
break;
}
break;
case EventType.AllimElephant: // [daesang] 알림
{
eventMessage = '코끼리 알림';
}
break;
case EventType.AllimTms: // [daesang] 알림
{
eventMessage = 'TMS 알림';
}
break;
default:
{
const m = finalEventMessage as string;