Before this commit, a user could DM a portal user. Portal user are not supported and can't chat. task-2632874 closes odoo/odoo#77568 X-original-commit: a7eda6d7314e7261ddda32620fae817f1d828bae Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>