Add backup support for pinned messages

Co-authored-by: Scott Nonnenberg <scott@signal.org>
This commit is contained in:
Jamie
2026-01-12 14:04:23 -08:00
committed by GitHub
parent e64ea74e11
commit 8ca20a37ad
25 changed files with 885 additions and 237 deletions

View File

@@ -8,8 +8,13 @@
mocha.setup('bdd');
mocha.setup({ timeout: 10000 });
let themeSetting = 'light';
window.Events = {
getThemeSetting: () => 'light',
getThemeSetting: () => themeSetting,
setThemeSetting: (newSetting) => {
themeSetting = newSetting;
},
addDarkOverlay: () => undefined,
};