diff --git a/gui/preload-chat.js b/gui/preload-chat.js index 4099c454..5359dd8a 100644 --- a/gui/preload-chat.js +++ b/gui/preload-chat.js @@ -278,7 +278,8 @@ window.addEventListener("DOMContentLoaded", () => { .then(function (doc) { db.remove(doc) .then(function (doc) { - return location.reload(); + updateAllChat(true); + return true; }) .catch(function (err) { console.log(err);