reverting the changes related to using curr_time for sorting chat messages

This commit is contained in:
Anton Georgiev 2014-09-19 18:21:26 +00:00
parent bb43a38bed
commit 558c5efa1a

View File

@ -226,9 +226,6 @@ class Meteor.RedisPubSub
if message.header?.name is "send_public_chat_message" or message.header?.name is "send_private_chat_message"
messageObject = message.payload?.message
#use current_time instead of from_time for sorting the chat messages. We had issues with from_time
messageObject.from_time = message.header?.current_time
Meteor.call("addChatToCollection", meetingId, messageObject)
if message.header?.name is "meeting_created_message"