make live support work again
bzr revid: nicolas.vanhoren@openerp.com-20130902122719-ezxkjlkc7d2812jr
This commit is contained in:
parent
9071d01a28
commit
f958499b9e
|
@ -107,8 +107,11 @@ define(["openerp", "im_common", "underscore", "require", "jquery",
|
|||
}
|
||||
self.manager.activate_session(session_id, true).then(function(conv) {
|
||||
if (self.options.defaultMessage) {
|
||||
conv.received_message({message: self.options.defaultMessage,
|
||||
date: openerp.datetime_to_str(new Date())});
|
||||
conv.received_message({
|
||||
message: self.options.defaultMessage,
|
||||
date: openerp.datetime_to_str(new Date()),
|
||||
from_id: [conv.users[0].get("id"), "Unknown"]
|
||||
});
|
||||
}
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue