diff options
| author | Aaron Bohy <aab@odoo.com> | 2015-11-19 14:57:33 +0100 |
|---|---|---|
| committer | Aaron Bohy <aab@odoo.com> | 2015-11-20 15:48:03 +0100 |
| commit | c2dfea5cc9a7f860d513809cb82cfe26e639de7c (patch) | |
| tree | 3fcb01c1a2716b73fcc3978d3ab4dc37684855e3 /addons/web_analytics/__init__.py | |
| parent | 1dfd1bd7a337b790f48d00025335c4cecc0b2663 (diff) | |
[FIX] mail: correctly load livechat channels
The livechat channels returned by the chat_manager's initial RPC were ignored.
Livechat channels thus weren't persistent in the client action.
This rev. cleans the returned object 'channel_slots' so that it only contains
arrays of channels. The additional mapping and partners array were useless as
the information they contained was directly stored in the DM channels.
We now simply iterate on each array returned and add each channel it contains,
including livechat channels.
Diffstat (limited to 'addons/web_analytics/__init__.py')
0 files changed, 0 insertions, 0 deletions
