Browse Source

comment out replay for now

feature/dockerfile-arm
Evan Feenstra 5 years ago
parent
commit
2a4d631341
  1. 4
      api/controllers/chats.ts
  2. 2
      dist/api/controllers/chats.js
  3. 2
      dist/api/controllers/chats.js.map

4
api/controllers/chats.ts

@ -8,7 +8,7 @@ import { sendNotification } from '../hub'
import * as md5 from 'md5'
import * as path from 'path'
import * as tribes from '../utils/tribes'
import {replayChatHistory,createTribeChatParams} from './chatTribes'
import {createTribeChatParams} from './chatTribes'
const constants = require(path.join(__dirname,'../../config/constants.json'))
@ -250,7 +250,7 @@ async function receiveGroupJoin(payload) {
role: constants.chat_roles.reader,
lastActive: date,
})
replayChatHistory(chat, theSender)
// replayChatHistory(chat, theSender)
}
}

2
dist/api/controllers/chats.js

@ -239,7 +239,7 @@ function receiveGroupJoin(payload) {
role: constants.chat_roles.reader,
lastActive: date,
});
chatTribes_1.replayChatHistory(chat, theSender);
// replayChatHistory(chat, theSender)
}
}
const msg = {

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

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