@@ -2,7 +2,7 @@ import moment from 'moment/moment';
22import { v4 as uuidv4 } from 'uuid' ;
33import { consola } from 'consola' ;
44import { clientInfos } from './userUtils' ;
5- import { EDXL_ENVELOPE , DIRECTIONS } from '@/constants' ;
5+ import { EDXL_ENVELOPE , DIRECTIONS , RC_DE } from '@/constants' ;
66import { useMainStore } from '~/store' ;
77import { useAuthStore } from '~/store/auth' ;
88
@@ -196,6 +196,7 @@ export function buildMessage(
196196 const name = clientInfos ( ) . name ;
197197 message . content [ 0 ] . jsonContent . embeddedJsonContent . message = {
198198 ...message . content [ 0 ] . jsonContent . embeddedJsonContent . message ,
199+ ...RC_DE ,
199200 ...formattedInnerMessage ,
200201 messageId : message . distributionID ,
201202 kind : message . distributionKind ,
@@ -215,12 +216,6 @@ export function buildMessage(
215216 message . content [ 0 ] . jsonContent . embeddedJsonContent . message = {
216217 ...message . content [ 0 ] . jsonContent . embeddedJsonContent . message ,
217218 ...formattedInnerMessage ,
218- messageId : undefined ,
219- kind : undefined ,
220- sender : undefined ,
221- sentAt : undefined ,
222- recipient : undefined ,
223- status : undefined ,
224219 } ;
225220 }
226221
0 commit comments