diff options
| author | Aaron Bohy <aab@odoo.com> | 2015-12-02 09:24:33 +0100 |
|---|---|---|
| committer | Aaron Bohy <aab@odoo.com> | 2015-12-03 11:21:47 +0100 |
| commit | 5fdfd38b7e72549c65acd56cd91f388b358f8f4d (patch) | |
| tree | 98f8d5f0ac087e8dd14339bce1f463c2773109c4 /addons/web_editor/static/src/js | |
| parent | 8017a9569cbd648b3ff205c198efb8c5a9530d7d (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
