I'm trying to inject some old messages to an existing Quickblox group chat dialog. The links below describe what I'm trying to do:
http://quickblox.com/developers/Web_XMPP_Chat_Sample#Put_chat_messages_to_history http://quickblox.com/developers/Chat#Create_message
I'm using the code below, and it runs successfully:
var timestamp = 1443072988; // 2015-09-24
var params = {
chat_dialog_id: dialogId,
message: text,
date_sent: timestamp
};
// Send the message
QB.chat.message.create(params, function(err, res) { });
However, it seems that the date_sent parameter is ignored. Is setting a custom date_sent parameter supported?