File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -906,7 +906,7 @@ export class WAStartupService {
906906 keyParticipant :
907907 received ?. participant || this . normalizeParticipant ( received . key ) ,
908908 messageType,
909- content : received . message [ messageType ] as PrismType . Prisma . JsonValue ,
909+ content : JSON . parse ( JSON . stringify ( received . message [ messageType ] ) ) as PrismType . Prisma . JsonValue ,
910910 messageTimestamp : timestamp ,
911911 instanceId : this . instance . id ,
912912 device : ( ( ) => {
@@ -1393,7 +1393,7 @@ export class WAStartupService {
13931393 keyParticipant : m ?. participant ,
13941394 pushName : m ?. pushName ,
13951395 messageType : getContentType ( m . message ) ,
1396- content : m . message [ getContentType ( m . message ) ] as PrismType . Prisma . JsonValue ,
1396+ content : JSON . parse ( JSON . stringify ( m . message [ getContentType ( m . message ) ] ) ) as PrismType . Prisma . JsonValue ,
13971397 messageTimestamp : timestamp ,
13981398 instanceId : this . instance . id ,
13991399 device : 'web' ,
You can’t perform that action at this time.
0 commit comments