[FIX] mail: do not return when processing notifications

Before this commit, the `mail.channel/seen` notification handler
would have returned if the channel was unknown.

This is incorrect since it would prevent other notifications from
the same batch from being processed. This commit fixes the issue.

closes odoo/odoo#116518

Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
This commit is contained in:
tsm-odoo
2023-03-24 19:21:28 +01:00
parent 34c55c5e54
commit 89a76ab5aa
@@ -351,7 +351,7 @@ export class Messaging {
if (!channel) {
// for example seen from another browser, the current one has no
// knowledge of the channel
return;
continue;
}
if (this.store.user.id === partner_id) {
channel.serverLastSeenMsgBySelf = last_message_id;