[FIX] im_livechat: don't remove empty sessions created recently
[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.

bplancher/odoo,Elico-Corp/odoo_OCB,ygol/odoo,optima-ict/odoo,stephen144/odoo,hip-odoo/odoo,Elico-Corp/odoo_OCB,ygol/odoo,microcom/odoo,sysadminmatmoz/OCB,laslabs/odoo,bplancher/odoo,bplancher/odoo,ygol/odoo,sysadminmatmoz/OCB,storm-computers/odoo,laslabs/odoo,laslabs/odoo,dfang/odoo,optima-ict/odoo,Elico-Corp/odoo_OCB,microcom/odoo,Elico-Corp/odoo_OCB,sysadminmatmoz/OCB,dfang/odoo,dfang/odoo,storm-computers/odoo,laslabs/odoo,laslabs/odoo,laslabs/odoo,sysadminmatmoz/OCB,sysadminmatmoz/OCB,hip-odoo/odoo,stephen144/odoo,sysadminmatmoz/OCB,storm-computers/odoo,hip-odoo/odoo,dfang/odoo,sysadminmatmoz/OCB,Elico-Corp/odoo_OCB,optima-ict/odoo,bplancher/odoo,ygol/odoo,optima-ict/odoo,microcom/odoo,storm-computers/odoo,stephen144/odoo,Elico-Corp/odoo_OCB,dfang/odoo,optima-ict/odoo,ygol/odoo,dfang/odoo,ygol/odoo,hip-odoo/odoo,hip-odoo/odoo,stephen144/odoo,storm-computers/odoo,optima-ict/odoo,stephen144/odoo,bplancher/odoo,microcom/odoo,storm-computers/odoo,microcom/odoo,ygol/odoo,bplancher/odoo,stephen144/odoo,microcom/odoo,hip-odoo/odoo