summaryrefslogtreecommitdiff
path: root/addons/web_editor/static/src/js
diff options
context:
space:
mode:
authorAaron Bohy <aab@odoo.com>2015-12-02 09:24:33 +0100
committerAaron Bohy <aab@odoo.com>2015-12-03 11:21:47 +0100
commit5fdfd38b7e72549c65acd56cd91f388b358f8f4d (patch)
tree98f8d5f0ac087e8dd14339bce1f463c2773109c4 /addons/web_editor/static/src/js
parent8017a9569cbd648b3ff205c198efb8c5a9530d7d (diff)
[FIX] im_livechat: don't remove empty sessions created recently
The 'cron_remove_empty_session' is performed every day and removes livechat channels that contain no message. The problem was that the cron might have been executed between the moment a public user clicked on the livechat button, creating a new empty channel, and the moment this user sent the first message through that channel. If that happenned, the message was sent in an unexisting channel, and obviously never received by the operator. This fix makes sure that removed empty channels haven't been created or modified within the last hour.
Diffstat (limited to 'addons/web_editor/static/src/js')
0 files changed, 0 insertions, 0 deletions