Some fixes for windowed render
This commit is contained in:
parent
e4d2e28ec4
commit
0b0214cbf9
4 changed files with 84 additions and 49 deletions
|
@ -2252,12 +2252,18 @@
|
|||
|
||||
const existing = this.model.get('quotedMessageId');
|
||||
if (existing !== messageId) {
|
||||
const timestamp = messageId ? Date.now() : null;
|
||||
this.model.set({
|
||||
quotedMessageId: messageId,
|
||||
draftTimestamp: timestamp,
|
||||
timestamp,
|
||||
});
|
||||
|
||||
if (messageId) {
|
||||
const timestamp = Date.now();
|
||||
this.model.set({
|
||||
draftTimestamp: timestamp,
|
||||
timestamp,
|
||||
});
|
||||
}
|
||||
|
||||
await this.saveModel();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue