Browse Source

log date

feature/dockerfile-arm
Evan Feenstra 5 years ago
parent
commit
64c8f77173
  1. 2
      api/controllers/chatTribes.ts
  2. 1
      dist/api/controllers/chatTribes.js
  3. 2
      dist/api/controllers/chatTribes.js.map

2
api/controllers/chatTribes.ts

@ -166,6 +166,8 @@ async function replayChatHistory(chat, contact) {
let content = '' let content = ''
try {content = JSON.parse(m.remoteMessageContent)} catch(e) {} try {content = JSON.parse(m.remoteMessageContent)} catch(e) {}
console.log(m.date, typeof m.date)
let mediaKeyMap let mediaKeyMap
let newMediaTerms let newMediaTerms
if(m.type===constants.message_types.attachment) { if(m.type===constants.message_types.attachment) {

1
dist/api/controllers/chatTribes.js

@ -164,6 +164,7 @@ function replayChatHistory(chat, contact) {
content = JSON.parse(m.remoteMessageContent); content = JSON.parse(m.remoteMessageContent);
} }
catch (e) { } catch (e) { }
console.log(m.date, typeof m.date);
let mediaKeyMap; let mediaKeyMap;
let newMediaTerms; let newMediaTerms;
if (m.type === constants.message_types.attachment) { if (m.type === constants.message_types.attachment) {

2
dist/api/controllers/chatTribes.js.map

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save