Merge pull request #4120 from Klauswk/html5-2x-fix-public-messages

[HTML5 2.0] Fix Welcome Messages
This commit is contained in:
Anton Georgiev 2017-07-22 06:28:23 -04:00 committed by GitHub
commit de272d316c

View File

@ -12,10 +12,10 @@ const addWelcomeChatMessage = (meetingId, userId) => {
const Meeting = Meetings.findOne({ meetingId });
const message = {
chatType: CHAT_CONFIG.type_system,
message: Meeting.welcomeProp.welcomeMsg,
fromColor: '0x3399FF',
toUserId: userId,
toUsername: CHAT_CONFIG.type_system,
fromUserId: CHAT_CONFIG.type_system,
fromUsername: '',
fromTime: (new Date()).getTime(),