Browse Source

fix group_join socket msg

push-params
Evan Feenstra 4 years ago
parent
commit
e376e82f14
  1. 2
      api/controllers/chats.ts
  2. 2
      dist/api/controllers/chats.js
  3. 2
      dist/api/controllers/chats.js.map

2
api/controllers/chats.ts

@ -396,7 +396,7 @@ export async function receiveGroupJoin(payload) {
}
const message = await models.Message.create(msg)
const theChat = addPendingContactIdsToChat(chat)
const theChat = await addPendingContactIdsToChat(chat)
socket.sendJson({
type: 'group_join',
response: {

2
dist/api/controllers/chats.js

@ -386,7 +386,7 @@ function receiveGroupJoin(payload) {
msg.senderAlias = sender_alias;
}
const message = yield models_1.models.Message.create(msg);
const theChat = chatTribes_1.addPendingContactIdsToChat(chat);
const theChat = yield chatTribes_1.addPendingContactIdsToChat(chat);
socket.sendJson({
type: 'group_join',
response: {

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

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