Merge branch 'develop' into release

This commit is contained in:
Sabe Jones
2019-10-03 14:05:28 -05:00
1631 changed files with 293772 additions and 538 deletions
+2 -2
View File
@@ -11,8 +11,8 @@ import {
import { removeFromArray } from '../../libs/collectionManipulators';
import { getUserInfo, getGroupUrl, sendTxn } from '../../libs/email';
import slack from '../../libs/slack';
import { getAuthorEmailFromMessage } from '../../libs/chat';
import { chatReporterFactory } from '../../libs/chatReporting/chatReporterFactory';
import { getAuthorEmailFromMessage} from '../../libs/chat';
import nconf from 'nconf';
import bannedWords from '../../libs/bannedWords';
import guildsAllowingBannedWords from '../../libs/guildsAllowingBannedWords';
@@ -223,7 +223,7 @@ api.postChat = {
});
}
const newChatMessage = group.sendChat({message: req.body.message, user, flagCount, metaData: null, client});
const newChatMessage = group.sendChat({message: req.body.message, user, flagCount, metaData: null, client, translate: res.t});
let toSave = [newChatMessage.save()];
if (group.type === 'party') {
+2 -2
View File
@@ -124,8 +124,8 @@ api.inviteToQuest = {
sendPushNotification(
member,
{
title: res.t('questInvitationTitle', member.preferences.language),
message: res.t('questInvitationInfo', {quest: quest.text(member.preferences.language)}, member.preferences.language),
title: quest.text(member.preferences.language),
message: res.t('questInvitationNotificationInfo', member.preferences.language),
identifier: 'questInvitation',
category: 'questInvitation',
}