mirror of https://github.com/zulip/zulip.git
sent_messages: Remove from cache when message has been fully received.
There is no reason to keep these messages in a local memory store once we have completed sending them and seen their events.
This commit is contained in:
parent
3cc2adcd3b
commit
c67cd5adb4
|
@ -96,6 +96,7 @@ export class MessageState {
|
|||
setTag("rendered_changed", this.rendered_changed);
|
||||
setTag("locally_echoed", this.locally_echoed);
|
||||
this.txn.finish();
|
||||
messages.delete(this.local_id);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue