[FIX] mail: restore lost pending new message when thread is loading
Part-of: odoo/odoo#136698
This commit is contained in:
@@ -237,7 +237,7 @@ export class DiscussCoreCommon {
|
||||
if (message.notIn(channel.messages)) {
|
||||
if (!channel.loadNewer) {
|
||||
channel.messages.push(message);
|
||||
} else if (channel.state === "loading") {
|
||||
} else if (channel.status === "loading") {
|
||||
channel.pendingNewMessages.push(message);
|
||||
}
|
||||
if (message.isSelfAuthored) {
|
||||
|
||||
Reference in New Issue
Block a user