Fixed messages not actually clearing.

This commit is contained in:
armored-dragon 2024-10-29 15:25:45 -05:00
parent f6ce6db047
commit fb43abc636
No known key found for this signature in database
GPG key ID: C7207ACC3382AD8B

View file

@ -165,6 +165,7 @@
switch (event.action) {
case "erase_history":
Settings.setValue("ArmoredChat-Messages", null);
messageHistory = [];
_emitEvent({
type: "clear_messages",
});