summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/models/thread_cache/thread_cache.js
diff options
context:
space:
mode:
authorSébastien Theys <seb@odoo.com>2021-01-18 17:58:06 +0000
committerSébastien Theys <seb@odoo.com>2021-01-18 17:58:06 +0000
commita27907e27fb99a523c7b2d58544c36073640511c (patch)
tree081852a72fc103e85212760afb75ace43d0461c9 /addons/mail/static/src/models/thread_cache/thread_cache.js
parent298f3900a8f4c80fe06585634ce97c7725cf7f7d (diff)
[FIX] mail: properly return last message id for channel in mobile
This mobile specific code does not work correctly because `if channel in channel_previews` always returns false due to the dict having channel ids as key and not channels. A fix could be to look for id instead of record in the dict, but at the same time this is dead code, there is no need for mobile specific channel info. task-2412157 closes odoo/odoo#64722 Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
Diffstat (limited to 'addons/mail/static/src/models/thread_cache/thread_cache.js')
0 files changed, 0 insertions, 0 deletions