summaryrefslogtreecommitdiff
path: root/addons/web/static/src
diff options
context:
space:
mode:
authorAlexandre Kühn <aku@odoo.com>2019-12-06 13:33:13 +0000
committerAlexandre Kühn <aku@odoo.com>2019-12-09 09:26:25 +0000
commit42de9e129f0832c57ad3845bcbfc9c5b3b1bb301 (patch)
tree7940324c0970b820ebf035d2bebd5aa6b8efeb7e /addons/web/static/src
parent4efe0e3b161a46d4d0528df91a825c55cc96fb65 (diff)
[REV] mail: prevent message loss during connection issue
This reverts commit e5479fcfdb76bdbf9301fb140d873483bafdb9e4. This commit prevented an issue of losing messages on post in case of connectivity loss. The implementation consists of keeping the content in the composer until the server acknowledges handling the message. However, this solution introduces significant issues. For instance, sending messages in quick succession will likely loose or duplicate some content, based on how fast/slow the RPC `message_post` is resolved. Plus, there was an issue on mobile because the input focus was lost during the RPC. As a consequence, the virtual keyboard flickered. The intent was to fix a rare issue, and since the problems of this solution clearly outweigh the gain, we decided to revert. closes odoo/odoo#41544 X-original-commit: 36b2e99e08bfc6d92a821d0346e783695580abf9 Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
Diffstat (limited to 'addons/web/static/src')
0 files changed, 0 insertions, 0 deletions