diff options
| author | Lucas Perais (lpe) <lpe@odoo.com> | 2018-03-06 09:16:16 +0100 |
|---|---|---|
| committer | Lucas Perais (lpe) <lpe@odoo.com> | 2018-03-07 09:12:47 +0100 |
| commit | cf5142e05972cbf81d0af5b62e5a637c9eeabe9a (patch) | |
| tree | 2ca5614945ecb04c35e9e68b3f1d0ed3c0735aa8 /addons/barcodes/static/src | |
| parent | d18976d7489f6cd1c904f72557104807233a178d (diff) | |
[FIX] im_livechat: make /history command work for public user
Have the public user (not logged in -- user B) having a live chat with any logged in user (user A)
Having in mind that:
- (A) issues /history in his chatter to see where (B) has gone on the website
- The bus sends a kind of a "pull cookie request" on each clients
- The browser of (B) retrieves the cookie info and calls the relevant route
- That route sends the transient message for (A)
Before this commit:
The command did not work because the user of the route we end up on is the public one
hence, the search for the channel would not yield anything
After this commit:
The command does work as expected
OPW 1818732
closes #23485
Diffstat (limited to 'addons/barcodes/static/src')
0 files changed, 0 insertions, 0 deletions
